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.001557/0.001558, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00179/0.00179, allocations: 188.2 kB / 16.25 MB, free: 6.621 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.389/1.389, allocations: 222.9 MB / 239.9 MB, free: 4.445 MB / 190.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.679/2.679, allocations: 437 MB / 0.71 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 67.89 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6399/0.6413, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003172/0.6445, allocations: 1.983 MB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003747/0.6483, allocations: 3.407 MB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.6485, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003052/0.6488, allocations: 47.75 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004887/0.6493, allocations: 123.3 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 7.774e-05/0.6494, allocations: 27.97 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.6497, allocations: 175.2 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.6498, allocations: 25.69 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.65, allocations: 95.56 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.6502, allocations: 75.67 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.6502, allocations: 12 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.732e-05/0.6503, allocations: 35.91 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.058e-05/0.6504, allocations: 31.84 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.083e-05/0.6505, allocations: 79.53 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.6507, allocations: 159.4 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.6507, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6507, allocations: 4 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.6507, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 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.0009239/0.6516, allocations: 0.5139 MB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.6517, allocations: 8.031 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.461e-05/0.6517, allocations: 20.66 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.6521, allocations: 246.9 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.6521, allocations: 4.375 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.6521, allocations: 4.375 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/0.6525, allocations: 145.6 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.6525, allocations: 3.984 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.6525, allocations: 3.938 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/0.6526, allocations: 15.92 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000427/0.653, allocations: 143.9 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007323/0.6537, allocations: 456.5 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004148/0.6542, allocations: 170.4 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002663/0.6544, allocations: 108.8 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.6545, allocations: 4 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.6545, allocations: 34.56 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.6545, allocations: 0 / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0008469/0.6554, allocations: 295.6 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.6554, allocations: 55.41 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.6556, allocations: 209 kB / 1.025 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.6557, allocations: 33.7 kB / 1.025 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.198e-05/0.6558, allocations: 124 kB / 1.025 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.718e-05/0.6558, allocations: 43.31 kB / 1.025 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.85e-05/0.6559, allocations: 33.69 kB / 1.025 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.656, allocations: 338.8 kB / 1.026 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.6562, allocations: 67.94 kB / 1.026 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.6565, allocations: 79.92 kB / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004363/0.6569, allocations: 162 kB / 1.026 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6569, allocations: 0 / 1.026 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005218/0.6575, allocations: 220.5 kB / 1.026 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.6575, allocations: 12 kB / 1.026 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.6575, allocations: 0 / 1.026 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.6575, allocations: 0 / 1.026 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.6578, allocations: 39.89 kB / 1.026 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.6578, allocations: 0 / 1.026 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.658, allocations: 19.89 kB / 1.026 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.658, allocations: 4 kB / 1.026 GB, free: 8.699 MB / 0.7794 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.0001142/0.6581, allocations: 134.3 kB / 1.026 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.6582, allocations: 15.81 kB / 1.027 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.524e-05/0.6582, allocations: 33.77 kB / 1.027 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.6582, allocations: 0 / 1.027 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.6583, allocations: 0 / 1.027 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.6583, allocations: 0 / 1.027 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.6586, allocations: 273.3 kB / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.6586, allocations: 0 / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.6588, allocations: 39.89 kB / 1.027 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.6588, allocations: 4 kB / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.6588, allocations: 8 kB / 1.027 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.6588, allocations: 0 / 1.027 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6589, allocations: 0 / 1.027 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005699/0.6594, allocations: 315.2 kB / 1.027 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.6596, allocations: 112.8 kB / 1.027 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.6596, allocations: 4 kB / 1.027 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.6598, allocations: 15.97 kB / 1.027 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.34e-05/0.6599, allocations: 11.98 kB / 1.027 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.6599, allocations: 7.938 kB / 1.027 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001287/0.66, allocations: 156.5 kB / 1.027 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.66, allocations: 0 / 1.027 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002765/0.6603, allocations: 43.94 kB / 1.027 GB, free: 7.461 MB / 0.7794 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.0001733/0.6605, allocations: 107.2 kB / 1.028 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005435/0.661, allocations: 187.8 kB / 1.028 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.661, allocations: 0 / 1.028 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.6613, allocations: 99.86 kB / 1.028 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000462/0.6618, allocations: 24.42 kB / 1.028 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008178/0.6626, allocations: 488.5 kB / 1.028 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.6629, allocations: 0.7236 MB / 1.029 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.00017/0.6631, allocations: 52.58 kB / 1.029 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/0.6631, allocations: 27.42 kB / 1.029 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.6631, allocations: 0 / 1.029 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of Templates: time 0.004555/0.6677, allocations: 1.733 MB / 1.031 GB, free: 4 MB / 0.7794 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