Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.002145/0.002145, allocations: 113.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.002423/0.002423, allocations: 191.7 kB / 22.23 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.307/1.307, 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.948/2.948, allocations: 0.4893 GB / 0.7884 GB, free: 33.15 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.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain")
translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 66.86 kB / 1.145 GB, free: 30.66 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3075, allocations: 174.9 MB / 1.316 GB, free: 9.676 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00346/0.311, allocations: 2.19 MB / 1.318 GB, free: 7.477 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.005342/0.3163, allocations: 4.14 MB / 1.322 GB, free: 3.312 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.3164, allocations: 4 kB / 1.322 GB, free: 3.309 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0008643/0.3173, allocations: 191 kB / 1.322 GB, free: 3.121 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.3175, allocations: 79.28 kB / 1.322 GB, free: 3.043 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006742/0.3182, allocations: 294.8 kB / 1.323 GB, free: 2.758 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0006477/0.3188, allocations: 446.6 kB / 1.323 GB, free: 2.32 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.3189, allocations: 44.84 kB / 1.323 GB, free: 2.277 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.3191, allocations: 131.5 kB / 1.323 GB, free: 2.148 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.3193, allocations: 155.4 kB / 1.323 GB, free: 1.996 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 4.565e-05/0.3194, allocations: 24 kB / 1.324 GB, free: 1.973 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005457/0.3199, allocations: 359.4 kB / 1.324 GB, free: 1.621 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.32, allocations: 111.6 kB / 1.324 GB, free: 1.512 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.000172/0.3202, allocations: 179 kB / 1.324 GB, free: 1.336 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0006723/0.3209, allocations: 0.572 MB / 1.325 GB, free: 0.7617 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3209, allocations: 0 / 1.325 GB, free: 0.7617 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.664e-06/0.3209, allocations: 0 / 1.325 GB, free: 0.7617 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.742e-06/0.3209, allocations: 0 / 1.325 GB, free: 0.7617 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: 22
 * Number of variables: 22
Notification: Performance of Generate backend data structure: time 0.001546/0.3224, allocations: 0.7316 MB / 1.325 GB, free: 15.99 MB / 1.029 GB
Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3225, allocations: 8.031 kB / 1.325 GB, free: 15.98 MB / 1.029 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.3235, allocations: 184.3 kB / 1.326 GB, free: 15.8 MB / 1.029 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008147/0.3243, allocations: 332.7 kB / 1.326 GB, free: 15.46 MB / 1.029 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.3243, allocations: 8.562 kB / 1.326 GB, free: 15.45 MB / 1.029 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/0.3244, allocations: 15.94 kB / 1.326 GB, free: 15.43 MB / 1.029 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007204/0.3251, allocations: 246.6 kB / 1.326 GB, free: 15.19 MB / 1.029 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3251, allocations: 0 / 1.326 GB, free: 15.19 MB / 1.029 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.3251, allocations: 7.984 kB / 1.326 GB, free: 15.18 MB / 1.029 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3251, allocations: 0 / 1.326 GB, free: 15.18 MB / 1.029 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.3262, allocations: 331.7 kB / 1.326 GB, free: 14.86 MB / 1.029 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/0.3277, allocations: 0.6672 MB / 1.327 GB, free: 14.14 MB / 1.029 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006077/0.3283, allocations: 206.4 kB / 1.327 GB, free: 13.93 MB / 1.029 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000544/0.3288, allocations: 180.6 kB / 1.328 GB, free: 13.75 MB / 1.029 GB
Notification: Performance of preOpt evalFunc (simulation): time 5.342e-05/0.3289, allocations: 16 kB / 1.328 GB, free: 13.74 MB / 1.029 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.3289, allocations: 38.56 kB / 1.328 GB, free: 13.69 MB / 1.029 GB
Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.3289, allocations: 0 / 1.328 GB, free: 13.69 MB / 1.029 GB
Notification: Performance of matching and sorting (n=13): time 0.001786/0.3307, allocations: 0.5557 MB / 1.328 GB, free: 13.13 MB / 1.029 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.3307, allocations: 55.41 kB / 1.328 GB, free: 13.06 MB / 1.029 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004553/0.3312, allocations: 441.8 kB / 1.329 GB, free: 12.62 MB / 1.029 GB
Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.3312, allocations: 29.7 kB / 1.329 GB, free: 12.59 MB / 1.029 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.3314, allocations: 188.5 kB / 1.329 GB, free: 12.4 MB / 1.029 GB
Notification: Performance of collectInitialBindings (initialization): time 5.532e-05/0.3314, allocations: 51.58 kB / 1.329 GB, free: 12.35 MB / 1.029 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.3315, allocations: 49.67 kB / 1.329 GB, free: 12.29 MB / 1.029 GB
Notification: Performance of setup shared object (initialization): time 0.0001528/0.3317, allocations: 354.7 kB / 1.329 GB, free: 11.94 MB / 1.029 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000669/0.3323, allocations: 300 kB / 1.33 GB, free: 11.64 MB / 1.029 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006509/0.333, allocations: 296.3 kB / 1.33 GB, free: 11.36 MB / 1.029 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.3342, allocations: 0.5015 MB / 1.33 GB, free: 10.85 MB / 1.029 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3342, allocations: 7.922 kB / 1.33 GB, free: 10.84 MB / 1.029 GB
Notification: Performance of matching and sorting (n=27) (initialization): time 0.00149/0.3357, allocations: 0.7072 MB / 1.331 GB, free: 10.12 MB / 1.029 GB
Notification: Performance of prepare postOptimizeDAE: time 5.653e-05/0.3358, allocations: 47.88 kB / 1.331 GB, free: 10.07 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.3358, allocations: 7.984 kB / 1.331 GB, free: 10.06 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3358, allocations: 4 kB / 1.331 GB, free: 10.06 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/0.3363, allocations: 63.86 kB / 1.331 GB, free: 9.996 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.3363, allocations: 4 kB / 1.331 GB, free: 9.992 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003604/0.3366, allocations: 63.72 kB / 1.331 GB, free: 9.93 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.3366, allocations: 7.984 kB / 1.331 GB, free: 9.922 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 (18):
 * Single equations (assignments): 17
 * Array equations: 0
 * Algorithm blocks: 1
 * 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.000163/0.3368, allocations: 154.7 kB / 1.331 GB, free: 9.762 MB / 1.029 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.075e-05/0.3369, allocations: 39.72 kB / 1.331 GB, free: 9.723 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.3382, allocations: 452.9 kB / 1.332 GB, free: 9.277 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.3382, allocations: 0 / 1.332 GB, free: 9.277 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3382, allocations: 0 / 1.332 GB, free: 9.277 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3382, allocations: 3.938 kB / 1.332 GB, free: 9.273 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004066/0.3386, allocations: 340.4 kB / 1.332 GB, free: 8.898 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3386, allocations: 0 / 1.332 GB, free: 8.898 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004288/0.339, allocations: 63.91 kB / 1.332 GB, free: 8.836 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.339, allocations: 4 kB / 1.332 GB, free: 8.832 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.3391, allocations: 0 / 1.332 GB, free: 8.832 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3391, allocations: 4 kB / 1.332 GB, free: 8.828 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3391, allocations: 0 / 1.332 GB, free: 8.828 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.3403, allocations: 0.506 MB / 1.333 GB, free: 8.309 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.3405, allocations: 59.72 kB / 1.333 GB, free: 8.25 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.176e-05/0.3405, allocations: 3.938 kB / 1.333 GB, free: 8.246 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003674/0.3409, allocations: 47.94 kB / 1.333 GB, free: 8.199 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.111e-05/0.3409, allocations: 19.97 kB / 1.333 GB, free: 8.18 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.341, allocations: 3.938 kB / 1.333 GB, free: 8.176 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.0003062/0.3413, allocations: 307.1 kB / 1.333 GB, free: 7.879 MB / 1.029 GB
Notification: Performance of sort global known variables: time 7.1e-08/0.3413, allocations: 0 / 1.333 GB, free: 7.879 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0004736/0.3417, allocations: 131.8 kB / 1.333 GB, free: 7.75 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.0003284/0.3421, allocations: 171.5 kB / 1.333 GB, free: 7.57 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.001426/0.3435, allocations: 0.62 MB / 1.334 GB, free: 6.938 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3435, allocations: 0 / 1.334 GB, free: 6.938 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0005814/0.3441, allocations: 191.8 kB / 1.334 GB, free: 6.75 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004948/0.3446, allocations: 54.89 kB / 1.334 GB, free: 6.699 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.3459, allocations: 0.7113 MB / 1.335 GB, free: 5.957 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.3463, allocations: 0.7904 MB / 1.336 GB, free: 5.141 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 0.0002227/0.3465, allocations: 61.89 kB / 1.336 GB, free: 5.078 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.3466, allocations: 27.42 kB / 1.336 GB, free: 5.051 MB / 1.029 GB
Notification: Performance of SimCode: time 2.8e-07/0.3466, allocations: 0 / 1.336 GB, free: 5.051 MB / 1.029 GB
Notification: Performance of Templates: time 0.009925/0.3565, allocations: 5.607 MB / 1.341 GB, free: 15.49 MB / 1.045 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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: 8.07825736887753]