Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005047/0.005047, allocations: 100.8 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 192.2 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.683/2.683, allocations: 469.8 MB / 0.7425 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 67.88 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6534/0.6553, allocations: 159.1 MB / 1.22 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.004135/0.6595, allocations: 1.92 MB / 1.222 GB, free: 32 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005626/0.6651, allocations: 3.451 MB / 1.225 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.309e-05/0.6652, allocations: 0 / 1.225 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003577/0.6656, allocations: 58.28 kB / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000518/0.6661, allocations: 135.2 kB / 1.226 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 8.265e-05/0.6662, allocations: 23.97 kB / 1.226 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002996/0.6665, allocations: 175.2 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.6667, allocations: 33.67 kB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.6669, allocations: 83.69 kB / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.6671, allocations: 87.55 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.942e-05/0.6671, allocations: 12 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.6673, allocations: 27.92 kB / 1.226 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.941e-05/0.6673, allocations: 35.84 kB / 1.226 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.6675, allocations: 75.53 kB / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.6678, allocations: 176.2 kB / 1.226 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.6678, allocations: 0 / 1.226 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6678, allocations: 3.938 kB / 1.226 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.6678, allocations: 4 kB / 1.226 GB, free: 11.65 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001113/0.6689, allocations: 0.5099 MB / 1.227 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.669, allocations: 8.031 kB / 1.227 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.131e-05/0.669, allocations: 42.75 kB / 1.227 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.498e-05/0.6691, allocations: 20.8 kB / 1.227 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004584/0.6695, allocations: 251 kB / 1.227 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.652e-06/0.6696, allocations: 384 / 1.227 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.6696, allocations: 4.375 kB / 1.227 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004586/0.6701, allocations: 147.2 kB / 1.227 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.6701, allocations: 7.938 kB / 1.227 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.6701, allocations: 4 kB / 1.227 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.421e-05/0.6702, allocations: 11.98 kB / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005968/0.6708, allocations: 135.9 kB / 1.227 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008723/0.6716, allocations: 452.6 kB / 1.228 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005622/0.6722, allocations: 174.4 kB / 1.228 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003512/0.6726, allocations: 104.8 kB / 1.228 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.6726, allocations: 3.984 kB / 1.228 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.6726, allocations: 34.56 kB / 1.228 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.6727, allocations: 4 kB / 1.228 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.001143/0.6738, allocations: 290.7 kB / 1.228 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.6739, allocations: 63.34 kB / 1.228 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/0.6741, allocations: 209 kB / 1.229 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.6742, allocations: 25.7 kB / 1.229 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.795e-05/0.6743, allocations: 120.1 kB / 1.229 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.952e-05/0.6744, allocations: 51.58 kB / 1.229 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.912e-05/0.6744, allocations: 33.7 kB / 1.229 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.6746, allocations: 334.8 kB / 1.229 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.6749, allocations: 71.94 kB / 1.229 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.6751, allocations: 83.86 kB / 1.229 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005018/0.6756, allocations: 163 kB / 1.23 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6756, allocations: 0 / 1.23 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005944/0.6762, allocations: 225.4 kB / 1.23 GB, free: 7.898 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.6763, allocations: 8 kB / 1.23 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.6763, allocations: 3.984 kB / 1.23 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.6763, allocations: 0 / 1.23 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.6766, allocations: 39.95 kB / 1.23 GB, free: 7.848 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.6766, allocations: 0 / 1.23 GB, free: 7.848 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.6767, allocations: 15.94 kB / 1.23 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.6768, allocations: 7.938 kB / 1.23 GB, free: 7.824 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.6769, allocations: 129.8 kB / 1.23 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.556e-05/0.6769, allocations: 15.91 kB / 1.23 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.068e-05/0.677, allocations: 33.83 kB / 1.23 GB, free: 7.637 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.677, allocations: 0 / 1.23 GB, free: 7.637 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.677, allocations: 3.938 kB / 1.23 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.677, allocations: 0 / 1.23 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/0.6774, allocations: 273.3 kB / 1.23 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.6774, allocations: 0 / 1.23 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/0.6776, allocations: 39.95 kB / 1.23 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.6776, allocations: 0 / 1.23 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.6777, allocations: 8 kB / 1.23 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.6777, allocations: 0 / 1.23 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.6777, allocations: 3.938 kB / 1.23 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006552/0.6783, allocations: 323.9 kB / 1.231 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.6785, allocations: 113 kB / 1.231 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.6785, allocations: 0 / 1.231 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.6787, allocations: 19.97 kB / 1.231 GB, free: 6.785 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.6788, allocations: 7.984 kB / 1.231 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.6788, allocations: 4 kB / 1.231 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000154/0.6789, allocations: 164.4 kB / 1.231 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.679, allocations: 4 kB / 1.231 GB, free: 6.609 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000279/0.6792, allocations: 39.94 kB / 1.231 GB, free: 6.57 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001009/0.6803, allocations: 0.8512 MB / 1.232 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005735/0.6808, allocations: 175.8 kB / 1.232 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6809, allocations: 3.938 kB / 1.232 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002789/0.6811, allocations: 98.38 kB / 1.232 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.6815, allocations: 28.41 kB / 1.232 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/0.685, allocations: 2.307 MB / 1.234 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.6854, allocations: 0.7275 MB / 1.235 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001763/0.6855, allocations: 48.59 kB / 1.235 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.6857, allocations: 55.41 kB / 1.235 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of SimCode: time 2.8e-07/0.6857, allocations: 4 kB / 1.235 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.7107, allocations: 3.926 MB / 1.239 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.746/8.457, allocations: 2.438 kB / 1.239 GB, free: 14.39 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches