Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 112.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 189.3 kB / 22.22 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.847/2.847, allocations: 496 MB / 0.7835 GB, free: 33.74 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|heaLos.QLos_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss")
translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 73.12 kB / 1.138 GB, free: 33.78 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.286, allocations: 173.6 MB / 1.307 GB, free: 1.801 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003067/0.2891, allocations: 1.883 MB / 1.309 GB, free: 15.91 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.004311/0.2934, allocations: 3.595 MB / 1.313 GB, free: 12.29 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.287e-05/0.2935, allocations: 0 / 1.313 GB, free: 12.29 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0006467/0.2941, allocations: 183.2 kB / 1.313 GB, free: 12.11 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.2943, allocations: 75.53 kB / 1.313 GB, free: 12.04 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 6.776e-05/0.2943, allocations: 19.97 kB / 1.313 GB, free: 12.02 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0004752/0.2948, allocations: 263.1 kB / 1.313 GB, free: 11.76 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 8.833e-05/0.2949, allocations: 21.72 kB / 1.313 GB, free: 11.74 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.295, allocations: 75.77 kB / 1.313 GB, free: 11.67 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.2952, allocations: 75.67 kB / 1.313 GB, free: 11.59 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.2952, allocations: 8 kB / 1.313 GB, free: 11.59 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.984e-05/0.2953, allocations: 27.92 kB / 1.313 GB, free: 11.56 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 7.335e-05/0.2953, allocations: 59.75 kB / 1.313 GB, free: 11.5 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 8.688e-05/0.2954, allocations: 87.48 kB / 1.313 GB, free: 11.41 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.2957, allocations: 187.1 kB / 1.314 GB, free: 11.23 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2957, allocations: 0 / 1.314 GB, free: 11.23 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.213e-06/0.2957, allocations: 0 / 1.314 GB, free: 11.23 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.761e-06/0.2957, allocations: 4 kB / 1.314 GB, free: 11.23 MB / 1.014 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.0008145/0.2965, allocations: 456.9 kB / 1.314 GB, free: 10.75 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.2965, allocations: 12.92 kB / 1.314 GB, free: 10.74 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.2966, allocations: 24.8 kB / 1.314 GB, free: 10.71 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.2969, allocations: 189.6 kB / 1.314 GB, free: 10.5 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.2969, allocations: 384 / 1.314 GB, free: 10.5 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.2969, allocations: 4.375 kB / 1.314 GB, free: 10.5 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.2973, allocations: 143.2 kB / 1.314 GB, free: 10.36 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2973, allocations: 0 / 1.314 GB, free: 10.36 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.2973, allocations: 4 kB / 1.314 GB, free: 10.35 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.678e-05/0.2973, allocations: 11.94 kB / 1.314 GB, free: 10.34 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003866/0.2977, allocations: 131.9 kB / 1.315 GB, free: 10.21 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006898/0.2984, allocations: 419.5 kB / 1.315 GB, free: 9.758 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.2988, allocations: 154.4 kB / 1.315 GB, free: 9.598 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.299, allocations: 108.7 kB / 1.315 GB, free: 9.488 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.2991, allocations: 4 kB / 1.315 GB, free: 9.484 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/0.2991, allocations: 38.56 kB / 1.315 GB, free: 9.438 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.2991, allocations: 0 / 1.315 GB, free: 9.438 MB / 1.014 GB
Notification: Performance of matching and sorting (n=13): time 0.0008032/0.2999, allocations: 288.7 kB / 1.316 GB, free: 9.152 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.2999, allocations: 55.41 kB / 1.316 GB, free: 9.086 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.3002, allocations: 233.9 kB / 1.316 GB, free: 8.848 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.3002, allocations: 29.7 kB / 1.316 GB, free: 8.812 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 9.69e-05/0.3003, allocations: 132.1 kB / 1.316 GB, free: 8.68 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4.492e-05/0.3003, allocations: 43.64 kB / 1.316 GB, free: 8.637 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.682e-05/0.3004, allocations: 33.64 kB / 1.316 GB, free: 8.598 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001531/0.3005, allocations: 342.7 kB / 1.316 GB, free: 8.254 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.3008, allocations: 71.94 kB / 1.316 GB, free: 8.184 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.301, allocations: 71.94 kB / 1.317 GB, free: 8.113 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004087/0.3014, allocations: 156.7 kB / 1.317 GB, free: 7.957 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3014, allocations: 3.938 kB / 1.317 GB, free: 7.953 MB / 1.014 GB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004922/0.3019, allocations: 212.4 kB / 1.317 GB, free: 7.742 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.3019, allocations: 8 kB / 1.317 GB, free: 7.734 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.3019, allocations: 3.984 kB / 1.317 GB, free: 7.73 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.3019, allocations: 0 / 1.317 GB, free: 7.73 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.3021, allocations: 35.91 kB / 1.317 GB, free: 7.695 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3021, allocations: 4 kB / 1.317 GB, free: 7.691 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.3023, allocations: 19.88 kB / 1.317 GB, free: 7.672 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.3023, allocations: 3.984 kB / 1.317 GB, free: 7.668 MB / 1.014 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.0001573/0.3025, allocations: 149.7 kB / 1.317 GB, free: 7.512 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.262e-05/0.3025, allocations: 19.86 kB / 1.317 GB, free: 7.492 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.629e-05/0.3026, allocations: 29.77 kB / 1.317 GB, free: 7.461 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3026, allocations: 0 / 1.317 GB, free: 7.461 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3026, allocations: 0 / 1.317 GB, free: 7.461 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3026, allocations: 4 kB / 1.317 GB, free: 7.457 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.3028, allocations: 236.5 kB / 1.317 GB, free: 7.184 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3029, allocations: 0 / 1.317 GB, free: 7.184 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.3031, allocations: 35.91 kB / 1.317 GB, free: 7.148 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3031, allocations: 4 kB / 1.317 GB, free: 7.145 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.3031, allocations: 4 kB / 1.317 GB, free: 7.141 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3031, allocations: 0 / 1.317 GB, free: 7.141 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3031, allocations: 3.984 kB / 1.317 GB, free: 7.137 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005326/0.3036, allocations: 311.2 kB / 1.318 GB, free: 6.816 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.972e-05/0.3037, allocations: 35.78 kB / 1.318 GB, free: 6.781 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.3037, allocations: 4 kB / 1.318 GB, free: 6.777 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.3039, allocations: 11.98 kB / 1.318 GB, free: 6.766 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.3039, allocations: 15.97 kB / 1.318 GB, free: 6.75 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.304, allocations: 4 kB / 1.318 GB, free: 6.746 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001582/0.3041, allocations: 173.2 kB / 1.318 GB, free: 6.578 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9.1e-08/0.3041, allocations: 3.938 kB / 1.318 GB, free: 6.574 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002558/0.3044, allocations: 47.94 kB / 1.318 GB, free: 6.527 MB / 1.014 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.0001378/0.3045, allocations: 99.98 kB / 1.318 GB, free: 6.422 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0004766/0.305, allocations: 163.9 kB / 1.318 GB, free: 6.262 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.305, allocations: 3.938 kB / 1.318 GB, free: 6.258 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.3052, allocations: 87.92 kB / 1.318 GB, free: 6.172 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.3056, allocations: 48.34 kB / 1.318 GB, free: 6.125 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000881/0.3065, allocations: 464 kB / 1.319 GB, free: 5.648 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.3069, allocations: 0.7396 MB / 1.32 GB, free: 4.883 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.000164/0.3071, allocations: 61 kB / 1.32 GB, free: 4.824 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.403e-05/0.3072, allocations: 15.44 kB / 1.32 GB, free: 4.809 MB / 1.014 GB
Notification: Performance of SimCode: time 2.8e-07/0.3072, allocations: 0 / 1.32 GB, free: 4.809 MB / 1.014 GB
Notification: Performance of Templates: time 0.005675/0.3128, allocations: 2.345 MB / 1.322 GB, free: 2.504 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 7.8910057274624705]