Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001656/0.001656, allocations: 112 kB / 16.42 MB, free: 6.508 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.001792/0.001792, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.734/1.734, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.981/2.981, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 64.14 kB / 1.055 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.235/1.236, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.005753/1.242, allocations: 1.919 MB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007108/1.249, allocations: 3.45 MB / 1.214 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002362/1.249, allocations: 0 / 1.214 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004144/1.25, allocations: 51.61 kB / 1.214 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0009137/1.251, allocations: 135.3 kB / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/1.251, allocations: 19.97 kB / 1.214 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003894/1.251, allocations: 179.2 kB / 1.214 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/1.252, allocations: 33.67 kB / 1.214 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003207/1.252, allocations: 83.62 kB / 1.214 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/1.252, allocations: 83.61 kB / 1.214 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.458e-05/1.252, allocations: 8 kB / 1.214 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/1.252, allocations: 35.92 kB / 1.214 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001256/1.253, allocations: 35.84 kB / 1.214 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001413/1.253, allocations: 79.53 kB / 1.214 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000405/1.253, allocations: 173.1 kB / 1.215 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/1.253, allocations: 0 / 1.215 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.338e-06/1.253, allocations: 0 / 1.215 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.061e-05/1.253, allocations: 0 / 1.215 GB, free: 7.297 MB / 0.9356 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.001482/1.255, allocations: 0.51 MB / 1.215 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 7.514e-05/1.255, allocations: 12.03 kB / 1.215 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/1.255, allocations: 16.75 kB / 1.215 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005922/1.256, allocations: 250.8 kB / 1.215 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/1.256, allocations: 384 / 1.215 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/1.256, allocations: 8.312 kB / 1.215 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004565/1.256, allocations: 145.6 kB / 1.215 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/1.256, allocations: 0 / 1.215 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/1.256, allocations: 8 kB / 1.215 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-05/1.256, allocations: 8 kB / 1.215 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000495/1.257, allocations: 135.9 kB / 1.216 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009076/1.258, allocations: 464.4 kB / 1.216 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004764/1.258, allocations: 170.4 kB / 1.216 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/1.258, allocations: 112.8 kB / 1.216 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/1.258, allocations: 0 / 1.216 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/1.258, allocations: 30.56 kB / 1.216 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/1.258, allocations: 4 kB / 1.216 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0009299/1.259, allocations: 289.7 kB / 1.217 GB, free: 5 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/1.259, allocations: 55.41 kB / 1.217 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/1.26, allocations: 213 kB / 1.217 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/1.26, allocations: 25.7 kB / 1.217 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/1.26, allocations: 124.1 kB / 1.217 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.582e-05/1.26, allocations: 47.3 kB / 1.217 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.441e-05/1.26, allocations: 33.7 kB / 1.217 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000191/1.26, allocations: 338.8 kB / 1.217 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002676/1.261, allocations: 75.94 kB / 1.218 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003062/1.261, allocations: 79.06 kB / 1.218 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005259/1.261, allocations: 164.7 kB / 1.218 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.261, allocations: 0 / 1.218 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005939/1.262, allocations: 221.2 kB / 1.218 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/1.262, allocations: 12 kB / 1.218 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/1.262, allocations: 0 / 1.218 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/1.262, allocations: 7.922 kB / 1.218 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/1.262, allocations: 31.97 kB / 1.218 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/1.262, allocations: 0 / 1.218 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/1.263, allocations: 11.98 kB / 1.218 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/1.263, allocations: 7.984 kB / 1.218 GB, free: 3.527 MB / 0.9356 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.0001733/1.263, allocations: 133.8 kB / 1.218 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-05/1.263, allocations: 19.72 kB / 1.218 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.863e-05/1.263, allocations: 33.77 kB / 1.218 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/1.263, allocations: 0 / 1.218 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.263, allocations: 0 / 1.218 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/1.263, allocations: 108.8 kB / 1.218 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.793e-05/1.263, allocations: 11.94 kB / 1.218 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/1.263, allocations: 11.98 kB / 1.218 GB, free: 3.188 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.969e-05/1.264, allocations: 15.98 kB / 1.218 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001/1.265, allocations: 288.8 kB / 1.219 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009308/1.266, allocations: 404.9 kB / 1.219 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000297/1.266, allocations: 83.92 kB / 1.219 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001548/1.266, allocations: 164.4 kB / 1.219 GB, free: 2.23 MB / 0.9356 GB Notification: Performance of Backend: time 7.61e-07/1.266, allocations: 4 kB / 1.219 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007703/1.267, allocations: 179.7 kB / 1.219 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of SimCode: time 0.001497/1.268, allocations: 0.8249 MB / 1.22 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of Templates: time 0.009128/1.277, allocations: 2.535 MB / 1.223 GB, free: 14.66 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches