Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001561/0.001561, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001771/0.001771, allocations: 192 kB / 22.11 MB, free: 4.223 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.544/1.544, allocations: 225.6 MB / 250.8 MB, free: 2.906 MB / 190.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.963/2.963, allocations: 495.8 MB / 0.783 GB, free: 12.29 MB / 0.6231 GB
"
[Timeout remaining time 176]
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.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_12_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_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002473/0.002473, allocations: 63.89 kB / 1.137 GB, free: 12.2 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.272/1.275, allocations: 173.6 MB / 1.307 GB, free: 33.8 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003648/1.278, allocations: 2.183 MB / 1.309 GB, free: 32.27 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.005506/1.284, allocations: 4.12 MB / 1.313 GB, free: 29.35 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/1.284, allocations: 6.906 kB / 1.313 GB, free: 29.34 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 0.0009581/1.285, allocations: 186.5 kB / 1.313 GB, free: 29.26 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001857/1.285, allocations: 76.27 kB / 1.313 GB, free: 29.21 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0007575/1.286, allocations: 300 kB / 1.313 GB, free: 29.09 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.0007046/1.287, allocations: 437.8 kB / 1.314 GB, free: 28.91 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/1.287, allocations: 43.03 kB / 1.314 GB, free: 28.89 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/1.287, allocations: 144.8 kB / 1.314 GB, free: 28.82 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.000232/1.287, allocations: 154.9 kB / 1.314 GB, free: 28.76 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 5.096e-05/1.287, allocations: 21.59 kB / 1.314 GB, free: 28.76 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000663/1.288, allocations: 338.5 kB / 1.315 GB, free: 28.66 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 0.000152/1.288, allocations: 114.2 kB / 1.315 GB, free: 28.62 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001836/1.288, allocations: 165.3 kB / 1.315 GB, free: 28.52 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0008163/1.289, allocations: 0.5777 MB / 1.315 GB, free: 28.3 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/1.289, allocations: 0 / 1.315 GB, free: 28.3 MB / 1.061 GB
Notification: Performance of FrontEnd: time 2.034e-06/1.289, allocations: 4 kB / 1.315 GB, free: 28.3 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 1.028e-05/1.289, allocations: 0 / 1.315 GB, free: 28.3 MB / 1.061 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.001415/1.291, allocations: 0.7288 MB / 1.316 GB, free: 27.77 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/1.291, allocations: 11.97 kB / 1.316 GB, free: 27.77 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000976/1.292, allocations: 184.3 kB / 1.316 GB, free: 27.73 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007482/1.292, allocations: 335 kB / 1.317 GB, free: 27.5 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/1.292, allocations: 11.45 kB / 1.317 GB, free: 27.49 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/1.292, allocations: 15.66 kB / 1.317 GB, free: 27.48 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006664/1.293, allocations: 249.6 kB / 1.317 GB, free: 27.4 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/1.293, allocations: 0 / 1.317 GB, free: 27.4 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/1.293, allocations: 4 kB / 1.317 GB, free: 27.4 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/1.293, allocations: 2.719 kB / 1.317 GB, free: 27.4 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/1.294, allocations: 335.4 kB / 1.317 GB, free: 27.33 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/1.295, allocations: 0.6493 MB / 1.318 GB, free: 26.96 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005861/1.296, allocations: 214.9 kB / 1.318 GB, free: 26.89 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004962/1.296, allocations: 173.2 kB / 1.318 GB, free: 26.84 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 5.956e-05/1.297, allocations: 20.36 kB / 1.318 GB, free: 26.84 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/1.297, allocations: 33.19 kB / 1.318 GB, free: 26.8 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=13): time 1.453e-06/1.297, allocations: 0 / 1.318 GB, free: 26.8 MB / 1.061 GB
Notification: Performance of matching and sorting (n=13): time 0.00169/1.298, allocations: 0.5637 MB / 1.319 GB, free: 26.64 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/1.298, allocations: 51.41 kB / 1.319 GB, free: 26.57 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003764/1.299, allocations: 442.5 kB / 1.319 GB, free: 26.37 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 2.818e-05/1.299, allocations: 33.7 kB / 1.319 GB, free: 26.33 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001114/1.299, allocations: 185.1 kB / 1.319 GB, free: 26.18 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 4.571e-05/1.299, allocations: 51.77 kB / 1.32 GB, free: 26.14 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/1.299, allocations: 50.84 kB / 1.32 GB, free: 26.11 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 8.314e-05/1.299, allocations: 350.5 kB / 1.32 GB, free: 25.78 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006207/1.3, allocations: 305.6 kB / 1.32 GB, free: 25.7 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005998/1.3, allocations: 290.1 kB / 1.32 GB, free: 25.64 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/1.301, allocations: 0.5033 MB / 1.321 GB, free: 25.48 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/1.301, allocations: 0 / 1.321 GB, free: 25.48 MB / 1.061 GB
Notification: Performance of matching and sorting (n=27) (initialization): time 0.001354/1.303, allocations: 0.7161 MB / 1.322 GB, free: 25.25 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 4.205e-05/1.303, allocations: 41.31 kB / 1.322 GB, free: 25.22 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1.303, allocations: 0 / 1.322 GB, free: 25.22 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/1.303, allocations: 3.938 kB / 1.322 GB, free: 25.21 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004591/1.303, allocations: 73.84 kB / 1.322 GB, free: 25.21 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/1.303, allocations: 0 / 1.322 GB, free: 25.21 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003832/1.304, allocations: 60.23 kB / 1.322 GB, free: 25.19 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/1.304, allocations: 7.922 kB / 1.322 GB, free: 25.19 MB / 1.061 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.0001439/1.304, allocations: 169.8 kB / 1.322 GB, free: 25.04 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.142e-05/1.304, allocations: 34.05 kB / 1.322 GB, free: 25.02 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/1.305, allocations: 437.3 kB / 1.322 GB, free: 24.89 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/1.305, allocations: 2.656 kB / 1.322 GB, free: 24.89 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.305, allocations: 4 kB / 1.322 GB, free: 24.89 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/1.305, allocations: 7.078 kB / 1.322 GB, free: 24.89 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000331/1.305, allocations: 340.5 kB / 1.323 GB, free: 24.66 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/1.305, allocations: 0 / 1.323 GB, free: 24.66 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003835/1.306, allocations: 64.7 kB / 1.323 GB, free: 24.66 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/1.306, allocations: 4 kB / 1.323 GB, free: 24.65 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/1.306, allocations: 5.828 kB / 1.323 GB, free: 24.65 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/1.306, allocations: 0 / 1.323 GB, free: 24.65 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.306, allocations: 4 kB / 1.323 GB, free: 24.65 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/1.307, allocations: 0.5046 MB / 1.323 GB, free: 24.41 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/1.307, allocations: 58.52 kB / 1.323 GB, free: 24.38 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.574e-05/1.307, allocations: 6.844 kB / 1.323 GB, free: 24.38 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/1.308, allocations: 35.89 kB / 1.323 GB, free: 24.38 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.807e-05/1.308, allocations: 15.44 kB / 1.323 GB, free: 24.37 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/1.308, allocations: 13.84 kB / 1.323 GB, free: 24.36 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 0.0002862/1.308, allocations: 301.9 kB / 1.324 GB, free: 24.23 MB / 1.061 GB
Notification: Performance of sort global known variables: time 8e-08/1.308, allocations: 0 / 1.324 GB, free: 24.23 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0005473/1.309, allocations: 134.1 kB / 1.324 GB, free: 24.21 MB / 1.061 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.0003247/1.309, allocations: 170.8 kB / 1.324 GB, free: 24.1 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.001494/1.31, allocations: 0.6288 MB / 1.325 GB, free: 23.9 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.31, allocations: 0 / 1.325 GB, free: 23.9 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 0.0006195/1.311, allocations: 178.6 kB / 1.325 GB, free: 23.86 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000591/1.312, allocations: 67.92 kB / 1.325 GB, free: 23.84 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/1.313, allocations: 0.7029 MB / 1.326 GB, free: 23.46 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/1.313, allocations: 0.7983 MB / 1.326 GB, free: 22.75 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 0.0002468/1.314, allocations: 63.95 kB / 1.326 GB, free: 22.72 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/1.314, allocations: 23.91 kB / 1.326 GB, free: 22.71 MB / 1.061 GB
Notification: Performance of SimCode: time 5.51e-07/1.314, allocations: 0 / 1.326 GB, free: 22.71 MB / 1.061 GB
Notification: Performance of Templates: time 0.01365/1.327, allocations: 5.597 MB / 1.332 GB, free: 22.29 MB / 1.061 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.08317827153951]