Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005686/0.005686, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001181/0.001181, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.346/1.346, 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 10.1.1-maint.10.0.x/package.mo): time 2.454/2.454, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 72.09 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8654/0.867, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.00295/0.87, allocations: 1.919 MB / 1.168 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003955/0.874, allocations: 3.451 MB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.8741, allocations: 0 / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.8745, allocations: 52.61 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005047/0.875, allocations: 138.8 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 8.495e-05/0.8751, allocations: 31.89 kB / 1.172 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.8753, allocations: 171.2 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.8755, allocations: 29.69 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.8756, allocations: 83.62 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.8758, allocations: 87.59 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.8759, allocations: 8 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-05/0.876, allocations: 31.92 kB / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.186e-05/0.8761, allocations: 35.84 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.8762, allocations: 79.55 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.8765, allocations: 179.1 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.8765, allocations: 0 / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8765, allocations: 0 / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.8765, allocations: 0 / 1.173 GB, free: 13.52 MB / 0.9044 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.000883/0.8774, allocations: 0.51 MB / 1.173 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.8774, allocations: 12.03 kB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.49e-05/0.8775, allocations: 16.84 kB / 1.173 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.8778, allocations: 251 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.8779, allocations: 4.375 kB / 1.173 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.8779, allocations: 12.31 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003507/0.8782, allocations: 144.6 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.8783, allocations: 4 kB / 1.174 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.8783, allocations: 0 / 1.174 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.83e-05/0.8783, allocations: 11.98 kB / 1.174 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004402/0.8788, allocations: 143.9 kB / 1.174 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007144/0.8795, allocations: 464.4 kB / 1.174 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/0.8799, allocations: 172 kB / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002711/0.8802, allocations: 108.8 kB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.8802, allocations: 0 / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.8802, allocations: 34.56 kB / 1.175 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.032e-06/0.8803, allocations: 0 / 1.175 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0008318/0.8811, allocations: 289.6 kB / 1.175 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.8811, allocations: 55.41 kB / 1.175 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.8813, allocations: 213 kB / 1.175 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.8814, allocations: 25.7 kB / 1.175 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.382e-05/0.8815, allocations: 128.1 kB / 1.175 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.046e-05/0.8815, allocations: 47.56 kB / 1.175 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-05/0.8816, allocations: 33.7 kB / 1.175 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.8817, allocations: 338.8 kB / 1.176 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.8819, allocations: 75.92 kB / 1.176 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.8822, allocations: 73.44 kB / 1.176 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004303/0.8826, allocations: 162.2 kB / 1.176 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.8826, allocations: 0 / 1.176 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005116/0.8831, allocations: 229.4 kB / 1.176 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.8832, allocations: 4 kB / 1.176 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.8832, allocations: 0 / 1.176 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.8832, allocations: 7.922 kB / 1.176 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.8834, allocations: 31.97 kB / 1.176 GB, free: 9.773 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.8835, allocations: 3.984 kB / 1.176 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.8836, allocations: 11.98 kB / 1.176 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.8836, allocations: 11.98 kB / 1.176 GB, free: 9.746 MB / 0.9044 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.0001082/0.8838, allocations: 133.7 kB / 1.176 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/0.8838, allocations: 23.86 kB / 1.176 GB, free: 9.582 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.395e-05/0.8839, allocations: 29.81 kB / 1.176 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.8839, allocations: 0 / 1.176 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.8839, allocations: 0 / 1.176 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.8839, allocations: 0 / 1.176 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003146/0.8842, allocations: 273.4 kB / 1.177 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.8842, allocations: 3.984 kB / 1.177 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.8845, allocations: 35.97 kB / 1.177 GB, free: 9.195 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.8845, allocations: 4 kB / 1.177 GB, free: 9.191 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.8845, allocations: 3.938 kB / 1.177 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.8845, allocations: 0 / 1.177 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.8845, allocations: 0 / 1.177 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005735/0.8851, allocations: 324.4 kB / 1.177 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.8852, allocations: 109 kB / 1.177 GB, free: 8.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.8852, allocations: 7.984 kB / 1.177 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.8854, allocations: 15.98 kB / 1.177 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/0.8855, allocations: 11.98 kB / 1.177 GB, free: 8.695 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.8855, allocations: 4 kB / 1.177 GB, free: 8.691 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001281/0.8856, allocations: 156.5 kB / 1.177 GB, free: 8.539 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8857, allocations: 4 kB / 1.177 GB, free: 8.535 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002766/0.8859, allocations: 43.88 kB / 1.177 GB, free: 8.492 MB / 0.9044 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.0001618/0.8861, allocations: 103.2 kB / 1.177 GB, free: 8.383 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000525/0.8866, allocations: 175.8 kB / 1.178 GB, free: 8.211 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8866, allocations: 4 kB / 1.178 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002463/0.8869, allocations: 96.48 kB / 1.178 GB, free: 8.113 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.8873, allocations: 31.2 kB / 1.178 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007961/0.8881, allocations: 429.8 kB / 1.178 GB, free: 7.645 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.8884, allocations: 0.7314 MB / 1.179 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001538/0.8886, allocations: 52.55 kB / 1.179 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.766e-05/0.8886, allocations: 19.42 kB / 1.179 GB, free: 6.812 MB / 0.9044 GB Notification: Performance of SimCode: time 3.11e-07/0.8887, allocations: 0 / 1.179 GB, free: 6.812 MB / 0.9044 GB Notification: Performance of Templates: time 0.004639/0.8933, allocations: 1.837 MB / 1.181 GB, free: 4.992 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches