Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.ASHRAEHeatLoss,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.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,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.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 108.5 kB / 16.41 MB, free: 6.492 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.001487/0.001488, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.633/2.633, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 68.11 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7583/0.7597, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003377/0.7631, allocations: 1.907 MB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004245/0.7674, allocations: 3.45 MB / 1.214 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.7675, allocations: 3.938 kB / 1.214 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.7678, allocations: 55.62 kB / 1.214 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005005/0.7683, allocations: 123.3 kB / 1.214 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 9.458e-05/0.7684, allocations: 27.95 kB / 1.214 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.7687, allocations: 175.1 kB / 1.214 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.7688, allocations: 21.69 kB / 1.214 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.769, allocations: 83.69 kB / 1.214 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.7692, allocations: 83.55 kB / 1.214 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.7693, allocations: 8 kB / 1.214 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.7694, allocations: 31.98 kB / 1.214 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.478e-05/0.7694, allocations: 39.78 kB / 1.214 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.36e-05/0.7695, allocations: 75.52 kB / 1.214 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.7698, allocations: 165.2 kB / 1.215 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.7698, allocations: 0 / 1.215 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.462e-06/0.7698, allocations: 0 / 1.215 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.7698, allocations: 0 / 1.215 GB, free: 7.375 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.0008471/0.7707, allocations: 0.4984 MB / 1.215 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.7707, allocations: 12.03 kB / 1.215 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.41e-05/0.7708, allocations: 24.66 kB / 1.215 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.7711, allocations: 238.8 kB / 1.215 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.7712, allocations: 8.359 kB / 1.215 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.7712, allocations: 8.375 kB / 1.215 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000349/0.7715, allocations: 133.7 kB / 1.215 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.7716, allocations: 0 / 1.215 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.7716, allocations: 4 kB / 1.215 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/0.7716, allocations: 15.98 kB / 1.215 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004306/0.772, allocations: 139.8 kB / 1.216 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006738/0.7727, allocations: 440.5 kB / 1.216 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004036/0.7731, allocations: 162.5 kB / 1.216 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/0.7734, allocations: 112.7 kB / 1.216 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.7734, allocations: 7.984 kB / 1.216 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.7735, allocations: 34.56 kB / 1.216 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.7735, allocations: 0 / 1.216 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0008183/0.7743, allocations: 281.4 kB / 1.217 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.7743, allocations: 51.41 kB / 1.217 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.7745, allocations: 209 kB / 1.217 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.7746, allocations: 29.7 kB / 1.217 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.079e-05/0.7747, allocations: 116.1 kB / 1.217 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.48e-05/0.7747, allocations: 39.36 kB / 1.217 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-05/0.7748, allocations: 29.7 kB / 1.217 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.7749, allocations: 342.8 kB / 1.217 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.7751, allocations: 76.06 kB / 1.217 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.7754, allocations: 71.94 kB / 1.217 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000429/0.7758, allocations: 162.2 kB / 1.218 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.7758, allocations: 0 / 1.218 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005079/0.7763, allocations: 200.6 kB / 1.218 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.7763, allocations: 4 kB / 1.218 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.7763, allocations: 4 kB / 1.218 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.7764, allocations: 0 / 1.218 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.7766, allocations: 43.89 kB / 1.218 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.7766, allocations: 0 / 1.218 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.7768, allocations: 23.83 kB / 1.218 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.7768, allocations: 0 / 1.218 GB, free: 3.695 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.0001104/0.7769, allocations: 133.8 kB / 1.218 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.213e-05/0.777, allocations: 19.81 kB / 1.218 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.804e-05/0.777, allocations: 25.83 kB / 1.218 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.7771, allocations: 0 / 1.218 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.7771, allocations: 0 / 1.218 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.7771, allocations: 0 / 1.218 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/0.7774, allocations: 269.4 kB / 1.218 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.7774, allocations: 0 / 1.218 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.7776, allocations: 35.91 kB / 1.218 GB, free: 3.164 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.7776, allocations: 0 / 1.218 GB, free: 3.164 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.7776, allocations: 7.984 kB / 1.218 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.7776, allocations: 4 kB / 1.218 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.7776, allocations: 3.938 kB / 1.218 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006056/0.7782, allocations: 311.2 kB / 1.219 GB, free: 2.828 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.506e-05/0.7783, allocations: 108.8 kB / 1.219 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.7784, allocations: 8 kB / 1.219 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.7786, allocations: 11.97 kB / 1.219 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.7786, allocations: 11.98 kB / 1.219 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.7787, allocations: 4 kB / 1.219 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001297/0.7788, allocations: 156.5 kB / 1.219 GB, free: 2.516 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7788, allocations: 0 / 1.219 GB, free: 2.516 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000277/0.7791, allocations: 43.84 kB / 1.219 GB, free: 2.473 MB / 0.9356 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.0001654/0.7793, allocations: 111.2 kB / 1.219 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005259/0.7798, allocations: 159.9 kB / 1.219 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.7798, allocations: 4 kB / 1.219 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002483/0.7801, allocations: 91.88 kB / 1.219 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.7805, allocations: 28.59 kB / 1.219 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008048/0.7813, allocations: 439.2 kB / 1.22 GB, free: 1.621 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.7816, allocations: 0.7275 MB / 1.22 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.707e-05/0.7817, allocations: 19.42 kB / 1.221 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/0.7817, allocations: 0 / 1.221 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of Templates: time 0.004292/0.786, allocations: 2.242 MB / 1.223 GB, free: 14.62 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches