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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.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_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.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.01004/0.01005, allocations: 100.9 kB / 15.73 MB, free: 6.004 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.0021/0.0021, allocations: 193.5 kB / 16.67 MB, free: 5.922 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.365/1.365, allocations: 222.9 MB / 240.3 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.546/2.546, allocations: 472.6 MB / 0.7453 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 68.06 kB / 1.069 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8523/0.8535, allocations: 159.9 MB / 1.226 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003076/0.8566, allocations: 1.87 MB / 1.227 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004534/0.8612, allocations: 3.615 MB / 1.231 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.8613, allocations: 0 / 1.231 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007885/0.8622, allocations: 191.2 kB / 1.231 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002095/0.8624, allocations: 75.47 kB / 1.231 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 7.407e-05/0.8625, allocations: 19.97 kB / 1.231 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004696/0.863, allocations: 271.1 kB / 1.232 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.6e-05/0.8631, allocations: 25.48 kB / 1.232 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.8632, allocations: 83.69 kB / 1.232 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.8634, allocations: 79.62 kB / 1.232 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.8634, allocations: 8 kB / 1.232 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.573e-05/0.8635, allocations: 27.98 kB / 1.232 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.063e-05/0.8636, allocations: 55.81 kB / 1.232 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.693e-05/0.8637, allocations: 91.34 kB / 1.232 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.8639, allocations: 191.7 kB / 1.232 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.864, allocations: 0 / 1.232 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.552e-06/0.864, allocations: 3.938 kB / 1.232 GB, free: 6.918 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.864, allocations: 4 kB / 1.232 GB, free: 6.914 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.0008603/0.8649, allocations: 0.5331 MB / 1.233 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.8649, allocations: 8.031 kB / 1.233 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.963e-05/0.865, allocations: 24.8 kB / 1.233 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.8653, allocations: 251.8 kB / 1.233 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.8653, allocations: 4.375 kB / 1.233 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.8653, allocations: 12.38 kB / 1.233 GB, free: 6.004 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003875/0.8657, allocations: 143.1 kB / 1.233 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.8658, allocations: 0 / 1.233 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.8658, allocations: 4 kB / 1.233 GB, free: 5.855 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.089e-05/0.8658, allocations: 8 kB / 1.233 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004458/0.8663, allocations: 147.9 kB / 1.233 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007714/0.867, allocations: 456.5 kB / 1.234 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004545/0.8675, allocations: 174.5 kB / 1.234 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002834/0.8678, allocations: 104.8 kB / 1.234 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.8678, allocations: 0 / 1.234 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.8679, allocations: 34.56 kB / 1.234 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 2.896e-06/0.8679, allocations: 0 / 1.234 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0008498/0.8687, allocations: 304.3 kB / 1.234 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.8688, allocations: 51.41 kB / 1.234 GB, free: 4.516 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.869, allocations: 242.7 kB / 1.234 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.8691, allocations: 33.7 kB / 1.234 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.998e-05/0.8692, allocations: 144 kB / 1.235 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.818e-05/0.8692, allocations: 43.58 kB / 1.235 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.774e-05/0.8693, allocations: 29.7 kB / 1.235 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.8695, allocations: 342.8 kB / 1.235 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.8697, allocations: 71.94 kB / 1.235 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/0.87, allocations: 75.94 kB / 1.235 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004414/0.8704, allocations: 164.7 kB / 1.235 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.8704, allocations: 0 / 1.235 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005261/0.871, allocations: 224.9 kB / 1.236 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.871, allocations: 7.938 kB / 1.236 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.871, allocations: 4 kB / 1.236 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.871, allocations: 0 / 1.236 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/0.8713, allocations: 35.97 kB / 1.236 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.8714, allocations: 7.984 kB / 1.236 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.8715, allocations: 19.92 kB / 1.236 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.8716, allocations: 7.938 kB / 1.236 GB, free: 3.051 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.0001354/0.8717, allocations: 138.3 kB / 1.236 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.8717, allocations: 23.86 kB / 1.236 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.182e-05/0.8718, allocations: 29.83 kB / 1.236 GB, free: 2.852 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.8718, allocations: 0 / 1.236 GB, free: 2.852 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.8718, allocations: 4 kB / 1.236 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.8719, allocations: 0 / 1.236 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003051/0.8722, allocations: 281.3 kB / 1.236 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.8722, allocations: 0 / 1.236 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.8724, allocations: 35.97 kB / 1.236 GB, free: 2.488 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.8724, allocations: 4 kB / 1.236 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.8724, allocations: 3.984 kB / 1.236 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.8724, allocations: 0 / 1.236 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.8724, allocations: 3.938 kB / 1.236 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005891/0.873, allocations: 319.2 kB / 1.236 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.8732, allocations: 112.9 kB / 1.237 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/0.8732, allocations: 8 kB / 1.237 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.8734, allocations: 23.98 kB / 1.237 GB, free: 1.988 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.8735, allocations: 11.98 kB / 1.237 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.8735, allocations: 4 kB / 1.237 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001889/0.8737, allocations: 178 kB / 1.237 GB, free: 1.805 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8737, allocations: 7.938 kB / 1.237 GB, free: 1.797 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002779/0.874, allocations: 43.88 kB / 1.237 GB, free: 1.754 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.0001557/0.8741, allocations: 107.2 kB / 1.237 GB, free: 1.641 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005174/0.8746, allocations: 175.9 kB / 1.237 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8747, allocations: 0 / 1.237 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.8749, allocations: 91.88 kB / 1.237 GB, free: 1.379 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004991/0.8754, allocations: 55.12 kB / 1.237 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008226/0.8762, allocations: 478 kB / 1.238 GB, free: 0.8359 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.8766, allocations: 0.7396 MB / 1.238 GB, free: 72 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001726/0.8768, allocations: 61.34 kB / 1.238 GB, free: 12 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.631e-05/0.8769, allocations: 19.48 kB / 1.238 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.8769, allocations: 0 / 1.238 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of Templates: time 0.005775/0.8827, allocations: 2.483 MB / 1.241 GB, free: 13.55 MB / 0.9669 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/jenkins/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