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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 110 kB / 18.93 MB, free: 2.945 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.001599/0.001599, allocations: 191.1 kB / 22.23 MB, free: 5.156 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.288/1.288, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.861/2.861, allocations: 0.4893 GB / 0.7884 GB, free: 33.21 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-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=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_latest_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_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 73.45 kB / 1.145 GB, free: 30.64 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2915, allocations: 174.9 MB / 1.316 GB, free: 9.707 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003045/0.2945, allocations: 1.902 MB / 1.318 GB, free: 7.797 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.004461/0.299, allocations: 3.587 MB / 1.321 GB, free: 4.188 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.274e-05/0.2991, allocations: 4 kB / 1.321 GB, free: 4.184 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0007285/0.2998, allocations: 183.2 kB / 1.322 GB, free: 4.004 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.3, allocations: 71.47 kB / 1.322 GB, free: 3.934 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 6.526e-05/0.3, allocations: 27.97 kB / 1.322 GB, free: 3.906 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0004458/0.3005, allocations: 255.1 kB / 1.322 GB, free: 3.656 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 8.952e-05/0.3006, allocations: 21.73 kB / 1.322 GB, free: 3.637 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.3007, allocations: 79.69 kB / 1.322 GB, free: 3.559 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.3008, allocations: 71.69 kB / 1.322 GB, free: 3.488 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.3009, allocations: 12 kB / 1.322 GB, free: 3.477 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.592e-05/0.301, allocations: 27.91 kB / 1.322 GB, free: 3.449 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 7.297e-05/0.301, allocations: 51.83 kB / 1.322 GB, free: 3.398 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.3011, allocations: 87.48 kB / 1.322 GB, free: 3.312 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.3014, allocations: 183 kB / 1.322 GB, free: 3.133 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3014, allocations: 0 / 1.322 GB, free: 3.133 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.052e-06/0.3014, allocations: 0 / 1.322 GB, free: 3.133 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.72e-06/0.3014, allocations: 4 kB / 1.322 GB, free: 3.129 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.0009049/0.3023, allocations: 460.9 kB / 1.323 GB, free: 2.648 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.3023, allocations: 12.03 kB / 1.323 GB, free: 2.637 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.998e-05/0.3024, allocations: 20.8 kB / 1.323 GB, free: 2.617 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.3027, allocations: 189.6 kB / 1.323 GB, free: 2.41 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.3027, allocations: 384 / 1.323 GB, free: 2.41 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.3027, allocations: 8.375 kB / 1.323 GB, free: 2.402 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003661/0.3031, allocations: 141.7 kB / 1.323 GB, free: 2.258 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.3031, allocations: 0 / 1.323 GB, free: 2.258 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.3031, allocations: 0 / 1.323 GB, free: 2.258 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.812e-05/0.3032, allocations: 19.92 kB / 1.323 GB, free: 2.238 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004524/0.3036, allocations: 143.7 kB / 1.323 GB, free: 2.098 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006961/0.3043, allocations: 407.6 kB / 1.324 GB, free: 1.656 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004122/0.3047, allocations: 158.5 kB / 1.324 GB, free: 1.492 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/0.305, allocations: 96.73 kB / 1.324 GB, free: 1.395 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.305, allocations: 7.922 kB / 1.324 GB, free: 1.387 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.305, allocations: 38.56 kB / 1.324 GB, free: 1.34 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=13): time 1.032e-06/0.305, allocations: 0 / 1.324 GB, free: 1.34 MB / 1.014 GB
Notification: Performance of matching and sorting (n=13): time 0.0008812/0.3059, allocations: 285.1 kB / 1.324 GB, free: 1.059 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.3059, allocations: 55.41 kB / 1.324 GB, free: 0.9922 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.3062, allocations: 233.9 kB / 1.325 GB, free: 0.7539 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.3062, allocations: 29.7 kB / 1.325 GB, free: 0.7188 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 9.675e-05/0.3063, allocations: 140.1 kB / 1.325 GB, free: 0.5781 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/0.3063, allocations: 39.66 kB / 1.325 GB, free: 0.5391 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-05/0.3064, allocations: 33.69 kB / 1.325 GB, free: 0.5 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001439/0.3065, allocations: 330.8 kB / 1.325 GB, free: 172 kB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/0.3068, allocations: 75.88 kB / 1.325 GB, free: 96 kB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.307, allocations: 79.92 kB / 1.325 GB, free: 16 kB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004508/0.3075, allocations: 148.8 kB / 1.325 GB, free: 15.87 MB / 1.029 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3075, allocations: 0 / 1.325 GB, free: 15.87 MB / 1.029 GB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.000526/0.308, allocations: 217.4 kB / 1.326 GB, free: 15.65 MB / 1.029 GB
Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.308, allocations: 4 kB / 1.326 GB, free: 15.64 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.308, allocations: 0 / 1.326 GB, free: 15.64 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.308, allocations: 0 / 1.326 GB, free: 15.64 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.3082, allocations: 35.91 kB / 1.326 GB, free: 15.61 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.3083, allocations: 4 kB / 1.326 GB, free: 15.61 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.3084, allocations: 27.88 kB / 1.326 GB, free: 15.58 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.3084, allocations: 7.984 kB / 1.326 GB, free: 15.57 MB / 1.029 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.0001288/0.3086, allocations: 138.4 kB / 1.326 GB, free: 15.43 MB / 1.029 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/0.3086, allocations: 19.86 kB / 1.326 GB, free: 15.41 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.062e-05/0.3087, allocations: 33.77 kB / 1.326 GB, free: 15.37 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3087, allocations: 0 / 1.326 GB, free: 15.37 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.3087, allocations: 0 / 1.326 GB, free: 15.37 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3087, allocations: 4 kB / 1.326 GB, free: 15.37 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002831/0.309, allocations: 232.5 kB / 1.326 GB, free: 15.1 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.309, allocations: 4 kB / 1.326 GB, free: 15.09 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.3092, allocations: 35.91 kB / 1.326 GB, free: 15.06 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3092, allocations: 0 / 1.326 GB, free: 15.06 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.3092, allocations: 11.98 kB / 1.326 GB, free: 15.05 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3092, allocations: 0 / 1.326 GB, free: 15.05 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3092, allocations: 0 / 1.326 GB, free: 15.05 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006649/0.3099, allocations: 318 kB / 1.326 GB, free: 14.72 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.608e-05/0.31, allocations: 43.72 kB / 1.327 GB, free: 14.68 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.31, allocations: 0 / 1.327 GB, free: 14.68 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.3102, allocations: 15.97 kB / 1.327 GB, free: 14.66 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.3102, allocations: 11.98 kB / 1.327 GB, free: 14.65 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.3102, allocations: 8 kB / 1.327 GB, free: 14.64 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.0001507/0.3104, allocations: 173.2 kB / 1.327 GB, free: 14.48 MB / 1.029 GB
Notification: Performance of sort global known variables: time 8e-08/0.3104, allocations: 0 / 1.327 GB, free: 14.48 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0002666/0.3106, allocations: 47.89 kB / 1.327 GB, free: 14.43 MB / 1.029 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.0001472/0.3108, allocations: 111.6 kB / 1.327 GB, free: 14.31 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.000518/0.3113, allocations: 155.9 kB / 1.327 GB, free: 14.16 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3113, allocations: 0 / 1.327 GB, free: 14.16 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002431/0.3116, allocations: 87.86 kB / 1.327 GB, free: 14.07 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004293/0.312, allocations: 52.45 kB / 1.327 GB, free: 14.02 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008332/0.3128, allocations: 450.7 kB / 1.328 GB, free: 13.55 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.3132, allocations: 0.7435 MB / 1.328 GB, free: 12.79 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 0.0001486/0.3134, allocations: 53.02 kB / 1.328 GB, free: 12.73 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.936e-05/0.3134, allocations: 19.42 kB / 1.328 GB, free: 12.71 MB / 1.029 GB
Notification: Performance of SimCode: time 2.9e-07/0.3134, allocations: 0 / 1.328 GB, free: 12.71 MB / 1.029 GB
Notification: Performance of Templates: time 0.005612/0.319, allocations: 2.346 MB / 1.331 GB, free: 10.41 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 300]
(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=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 800]
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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.869608061388135]