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.006102/0.006102, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001302/0.001302, allocations: 198.4 kB / 16.67 MB, free: 5.934 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.544/1.544, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.223/2.223, allocations: 390.2 MB / 0.6648 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 67.88 kB / 0.9508 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8669/0.8683, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003073/0.8714, allocations: 1.905 MB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003738/0.8752, allocations: 3.452 MB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.8753, allocations: 1.469 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003132/0.8756, allocations: 54.45 kB / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004711/0.8761, allocations: 124.6 kB / 1.093 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 8.481e-05/0.8762, allocations: 27.19 kB / 1.093 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.8765, allocations: 165.9 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.8766, allocations: 27.08 kB / 1.094 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.8768, allocations: 89.2 kB / 1.094 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.877, allocations: 86.83 kB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.115e-05/0.877, allocations: 8.719 kB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.8771, allocations: 25.55 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.885e-05/0.8772, allocations: 37.92 kB / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.8773, allocations: 80.23 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003168/0.8776, allocations: 164.6 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.8776, allocations: 0.8438 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8776, allocations: 0 / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.8777, allocations: 3.938 kB / 1.094 GB, free: 1.238 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.0009542/0.8786, allocations: 0.5075 MB / 1.095 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.8787, allocations: 9.812 kB / 1.095 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.351e-05/0.8787, allocations: 21.98 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.8791, allocations: 242.4 kB / 1.095 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.8791, allocations: 3 kB / 1.095 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.8792, allocations: 11.41 kB / 1.095 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003921/0.8796, allocations: 133.1 kB / 1.095 GB, free: 480 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.8796, allocations: 0.6094 kB / 1.095 GB, free: 480 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.8796, allocations: 5.156 kB / 1.095 GB, free: 476 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.331e-05/0.8796, allocations: 9.625 kB / 1.095 GB, free: 476 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004661/0.8801, allocations: 141.6 kB / 1.095 GB, free: 440 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007224/0.8808, allocations: 437 kB / 1.095 GB, free: 100 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004328/0.8813, allocations: 166.7 kB / 1.096 GB, free: 28 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003054/0.8816, allocations: 103.4 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.8816, allocations: 5.344 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.8817, allocations: 36.36 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.8817, allocations: 1 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.000898/0.8826, allocations: 281.4 kB / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.8826, allocations: 57.42 kB / 1.096 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.883, allocations: 209.8 kB / 1.096 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.883, allocations: 30.83 kB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.802e-05/0.8831, allocations: 116.9 kB / 1.096 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.8831, allocations: 40.91 kB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-05/0.8832, allocations: 31.39 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002343/0.8834, allocations: 333.5 kB / 1.097 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.8837, allocations: 74.72 kB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.8839, allocations: 75.17 kB / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004614/0.8844, allocations: 159.2 kB / 1.097 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.8844, allocations: 0 / 1.097 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005622/0.885, allocations: 209.8 kB / 1.097 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.885, allocations: 5.672 kB / 1.097 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.885, allocations: 0.9375 kB / 1.097 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.885, allocations: 0.5625 kB / 1.097 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.8853, allocations: 36.61 kB / 1.097 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.8853, allocations: 5.578 kB / 1.097 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.8855, allocations: 21.83 kB / 1.097 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.8855, allocations: 3.734 kB / 1.097 GB, free: 14.95 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.0001254/0.8856, allocations: 129 kB / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.022e-05/0.8857, allocations: 20.23 kB / 1.098 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.551e-05/0.8857, allocations: 25.62 kB / 1.098 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.8857, allocations: 2.438 kB / 1.098 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.8858, allocations: 8.469 kB / 1.098 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.8858, allocations: 0.5156 kB / 1.098 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.8861, allocations: 265.9 kB / 1.098 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.8861, allocations: 1.125 kB / 1.098 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.8863, allocations: 40.89 kB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.8863, allocations: 0.6562 kB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.8864, allocations: 3.062 kB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.8864, allocations: 0.8125 kB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.8864, allocations: 1.438 kB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000612/0.887, allocations: 311.3 kB / 1.098 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.8871, allocations: 112.9 kB / 1.098 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.421e-05/0.8872, allocations: 2.109 kB / 1.098 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.8874, allocations: 20.16 kB / 1.098 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.8874, allocations: 8.625 kB / 1.098 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.8874, allocations: 8.609 kB / 1.098 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001722/0.8876, allocations: 152.9 kB / 1.098 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8876, allocations: 0.9688 kB / 1.098 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000276/0.8879, allocations: 39.14 kB / 1.098 GB, free: 14.13 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.0001606/0.8881, allocations: 108 kB / 1.099 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005465/0.8886, allocations: 173.9 kB / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.8886, allocations: 0 / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002714/0.8889, allocations: 93.28 kB / 1.099 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.8893, allocations: 31.72 kB / 1.099 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007799/0.8901, allocations: 410.9 kB / 1.099 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.8904, allocations: 0.7272 MB / 1.1 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001622/0.8906, allocations: 53.41 kB / 1.1 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.918e-05/0.8907, allocations: 21.8 kB / 1.1 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of SimCode: time 1.9e-07/0.8907, allocations: 0 / 1.1 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of Templates: time 0.004984/0.8957, allocations: 1.721 MB / 1.102 GB, free: 12.84 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/jenkins/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