Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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_9_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_9_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.001341/0.001341, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001486/0.001486, allocations: 187 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.16/2.16, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 68.08 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9576/0.9591, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002939/0.9621, allocations: 1.905 MB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004111/0.9662, allocations: 3.455 MB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.9664, allocations: 1.656 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003304/0.9668, allocations: 53.52 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005691/0.9674, allocations: 128 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001064/0.9675, allocations: 23.89 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002772/0.9678, allocations: 170.1 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.9679, allocations: 27.03 kB / 1.094 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.9681, allocations: 90.25 kB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.9683, allocations: 78.12 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.9684, allocations: 8.375 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.9685, allocations: 32.52 kB / 1.094 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.919e-05/0.9686, allocations: 30.78 kB / 1.094 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.73e-05/0.9687, allocations: 88.28 kB / 1.095 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.969, allocations: 157.3 kB / 1.095 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.969, allocations: 0.7188 kB / 1.095 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.013e-06/0.969, allocations: 0 / 1.095 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.969, allocations: 1.547 kB / 1.095 GB, free: 1.258 MB / 0.8575 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.0008747/0.9699, allocations: 0.4989 MB / 1.095 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.9699, allocations: 10.58 kB / 1.095 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.273e-05/0.97, allocations: 25.03 kB / 1.095 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.9703, allocations: 242.3 kB / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.9703, allocations: 6.312 kB / 1.095 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.9704, allocations: 4 kB / 1.095 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003841/0.9708, allocations: 137.1 kB / 1.096 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.9708, allocations: 0.8125 kB / 1.096 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.9708, allocations: 8 kB / 1.096 GB, free: 496 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.354e-05/0.9708, allocations: 14.66 kB / 1.096 GB, free: 492 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004514/0.9713, allocations: 136.6 kB / 1.096 GB, free: 460 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006579/0.972, allocations: 441.4 kB / 1.096 GB, free: 116 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004106/0.9724, allocations: 163.1 kB / 1.096 GB, free: 48 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/0.9727, allocations: 103.2 kB / 1.096 GB, free: 12 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.9727, allocations: 1.375 kB / 1.096 GB, free: 12 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.299e-05/0.9727, allocations: 36.78 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.9728, allocations: 0 / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.000929/0.9737, allocations: 284.9 kB / 1.097 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.9737, allocations: 53.64 kB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.974, allocations: 206.5 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.974, allocations: 34.2 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.767e-05/0.9741, allocations: 121 kB / 1.097 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.958e-05/0.9742, allocations: 40.31 kB / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.943e-05/0.9743, allocations: 31.48 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.9744, allocations: 341.7 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/0.9747, allocations: 69.88 kB / 1.098 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.9749, allocations: 68.25 kB / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000483/0.9754, allocations: 164 kB / 1.098 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.9754, allocations: 4 kB / 1.098 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005765/0.976, allocations: 205 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.976, allocations: 12.34 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.976, allocations: 0 / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.9761, allocations: 0.6562 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.9763, allocations: 41.64 kB / 1.098 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.9763, allocations: 0.7812 kB / 1.098 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.9765, allocations: 21.02 kB / 1.098 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.9765, allocations: 4.656 kB / 1.098 GB, free: 14.96 MB / 0.8731 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.0001231/0.9767, allocations: 132.9 kB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.775e-05/0.9767, allocations: 16.75 kB / 1.098 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.229e-05/0.9768, allocations: 29.77 kB / 1.098 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.9768, allocations: 2.031 kB / 1.098 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.9768, allocations: 0 / 1.098 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.9768, allocations: 0.8438 kB / 1.098 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003268/0.9772, allocations: 258 kB / 1.098 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.9772, allocations: 1.281 kB / 1.098 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/0.9774, allocations: 37.44 kB / 1.099 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.9774, allocations: 3.938 kB / 1.099 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.9774, allocations: 2.969 kB / 1.099 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.9774, allocations: 1.438 kB / 1.099 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9775, allocations: 0.625 kB / 1.099 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006208/0.9781, allocations: 311.2 kB / 1.099 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.9782, allocations: 109.1 kB / 1.099 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.562e-05/0.9783, allocations: 5.094 kB / 1.099 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.9784, allocations: 13.16 kB / 1.099 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.231e-05/0.9785, allocations: 12.03 kB / 1.099 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.9785, allocations: 5.562 kB / 1.099 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001367/0.9787, allocations: 153.1 kB / 1.099 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9787, allocations: 4 kB / 1.099 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002882/0.979, allocations: 42.94 kB / 1.099 GB, free: 14.16 MB / 0.8731 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.0001712/0.9792, allocations: 108.8 kB / 1.099 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005502/0.9797, allocations: 161.2 kB / 1.099 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.9797, allocations: 4 kB / 1.099 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000259/0.98, allocations: 98.2 kB / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.9804, allocations: 25.38 kB / 1.1 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009143/0.9814, allocations: 444.7 kB / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.9817, allocations: 0.7274 MB / 1.101 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.26e-05/0.9818, allocations: 20.22 kB / 1.101 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of SimCode: time 3.51e-07/0.9818, allocations: 0 / 1.101 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of Templates: time 0.006254/0.9881, allocations: 2.244 MB / 1.103 GB, free: 12.8 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches