Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.001442/0.001442, allocations: 108.8 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.001574/0.001574, allocations: 191.8 kB / 22.23 MB, free: 5.16 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.292/1.292, allocations: 225.6 MB / 251 MB, free: 13 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.863/2.863, allocations: 0.4893 GB / 0.7884 GB, free: 33.14 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.EN12975SolarGain,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.EN12975SolarGain")
translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,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.EN12975SolarGain") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 59.91 kB / 1.145 GB, free: 30.73 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.297, allocations: 174.9 MB / 1.316 GB, free: 9.66 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003221/0.3002, allocations: 2.078 MB / 1.318 GB, free: 7.57 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.005167/0.3054, allocations: 4.116 MB / 1.322 GB, free: 3.43 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.3055, allocations: 0 / 1.322 GB, free: 3.43 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0007869/0.3063, allocations: 213.9 kB / 1.322 GB, free: 3.223 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.000123/0.3064, allocations: 71.42 kB / 1.322 GB, free: 3.152 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006431/0.307, allocations: 271.3 kB / 1.323 GB, free: 2.887 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0005694/0.3076, allocations: 374.9 kB / 1.323 GB, free: 2.52 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.965e-05/0.3077, allocations: 36.56 kB / 1.323 GB, free: 2.484 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.3079, allocations: 111.6 kB / 1.323 GB, free: 2.375 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.3081, allocations: 135.4 kB / 1.323 GB, free: 2.242 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.856e-05/0.3081, allocations: 16 kB / 1.323 GB, free: 2.227 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005178/0.3086, allocations: 339.4 kB / 1.324 GB, free: 1.895 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.3087, allocations: 107.6 kB / 1.324 GB, free: 1.789 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.3089, allocations: 151 kB / 1.324 GB, free: 1.641 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0006327/0.3095, allocations: 0.5175 MB / 1.324 GB, free: 1.121 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3095, allocations: 4 kB / 1.324 GB, free: 1.117 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.262e-06/0.3095, allocations: 0 / 1.324 GB, free: 1.117 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.156e-05/0.3095, allocations: 0 / 1.324 GB, free: 1.117 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: 19
 * Number of variables: 19
Notification: Performance of Generate backend data structure: time 0.001352/0.3109, allocations: 0.6808 MB / 1.325 GB, free: 408 kB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3109, allocations: 8.031 kB / 1.325 GB, free: 400 kB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.989e-05/0.311, allocations: 36.7 kB / 1.325 GB, free: 364 kB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005047/0.3115, allocations: 276.8 kB / 1.325 GB, free: 64 kB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.3115, allocations: 12.38 kB / 1.325 GB, free: 52 kB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.3116, allocations: 8.375 kB / 1.325 GB, free: 44 kB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005194/0.3121, allocations: 199 kB / 1.325 GB, free: 15.84 MB / 1.029 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.3121, allocations: 0 / 1.325 GB, free: 15.84 MB / 1.029 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.3121, allocations: 7.984 kB / 1.326 GB, free: 15.83 MB / 1.029 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3121, allocations: 4 kB / 1.326 GB, free: 15.83 MB / 1.029 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006775/0.3128, allocations: 243.7 kB / 1.326 GB, free: 15.59 MB / 1.029 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009969/0.3138, allocations: 0.5578 MB / 1.326 GB, free: 14.99 MB / 1.029 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004173/0.3142, allocations: 174.5 kB / 1.326 GB, free: 14.81 MB / 1.029 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003481/0.3146, allocations: 128.8 kB / 1.327 GB, free: 14.68 MB / 1.029 GB
Notification: Performance of preOpt evalFunc (simulation): time 5.6e-05/0.3146, allocations: 15.98 kB / 1.327 GB, free: 14.67 MB / 1.029 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.3146, allocations: 34.56 kB / 1.327 GB, free: 14.62 MB / 1.029 GB
Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.3146, allocations: 0 / 1.327 GB, free: 14.62 MB / 1.029 GB
Notification: Performance of matching and sorting (n=11): time 0.001198/0.3158, allocations: 457.3 kB / 1.327 GB, free: 14.17 MB / 1.029 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.3159, allocations: 51.41 kB / 1.327 GB, free: 14.11 MB / 1.029 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004493/0.3163, allocations: 413.5 kB / 1.328 GB, free: 13.7 MB / 1.029 GB
Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.3164, allocations: 29.7 kB / 1.328 GB, free: 13.66 MB / 1.029 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.3165, allocations: 176 kB / 1.328 GB, free: 13.48 MB / 1.029 GB
Notification: Performance of collectInitialBindings (initialization): time 4.457e-05/0.3165, allocations: 47.62 kB / 1.328 GB, free: 13.44 MB / 1.029 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.257e-05/0.3166, allocations: 37.69 kB / 1.328 GB, free: 13.39 MB / 1.029 GB
Notification: Performance of setup shared object (initialization): time 0.0001784/0.3168, allocations: 354.8 kB / 1.328 GB, free: 13.04 MB / 1.029 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003862/0.3172, allocations: 163.9 kB / 1.328 GB, free: 12.88 MB / 1.029 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003656/0.3176, allocations: 166 kB / 1.328 GB, free: 12.72 MB / 1.029 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007759/0.3183, allocations: 364.2 kB / 1.329 GB, free: 12.36 MB / 1.029 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3183, allocations: 0 / 1.329 GB, free: 12.36 MB / 1.029 GB
Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009144/0.3192, allocations: 470.8 kB / 1.329 GB, free: 11.88 MB / 1.029 GB
Notification: Performance of prepare postOptimizeDAE: time 4.74e-05/0.3193, allocations: 41.69 kB / 1.329 GB, free: 11.84 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3193, allocations: 4 kB / 1.329 GB, free: 11.83 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3193, allocations: 7.938 kB / 1.329 GB, free: 11.82 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.3196, allocations: 43.94 kB / 1.329 GB, free: 11.78 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.3196, allocations: 3.938 kB / 1.329 GB, free: 11.78 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.3199, allocations: 47.73 kB / 1.329 GB, free: 11.73 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.3199, allocations: 7.984 kB / 1.329 GB, free: 11.72 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 (12):
 * Single equations (assignments): 11
 * 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.0001644/0.32, allocations: 161.8 kB / 1.33 GB, free: 11.55 MB / 1.029 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.586e-05/0.3201, allocations: 31.77 kB / 1.33 GB, free: 11.52 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008396/0.3209, allocations: 336.6 kB / 1.33 GB, free: 11.19 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.3209, allocations: 4 kB / 1.33 GB, free: 11.19 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.321, allocations: 3.984 kB / 1.33 GB, free: 11.18 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.321, allocations: 3.938 kB / 1.33 GB, free: 11.18 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003669/0.3213, allocations: 300.5 kB / 1.33 GB, free: 10.84 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3213, allocations: 0 / 1.33 GB, free: 10.84 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002832/0.3216, allocations: 55.81 kB / 1.33 GB, free: 10.79 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3216, allocations: 0 / 1.33 GB, free: 10.79 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.3216, allocations: 8 kB / 1.33 GB, free: 10.78 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3216, allocations: 0 / 1.33 GB, free: 10.78 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3216, allocations: 4 kB / 1.33 GB, free: 10.78 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008069/0.3224, allocations: 419 kB / 1.331 GB, free: 10.35 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.3226, allocations: 51.72 kB / 1.331 GB, free: 10.3 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.082e-05/0.3226, allocations: 4 kB / 1.331 GB, free: 10.3 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.3228, allocations: 27.95 kB / 1.331 GB, free: 10.27 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.272e-05/0.3229, allocations: 15.92 kB / 1.331 GB, free: 10.25 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.3229, allocations: 7.984 kB / 1.331 GB, free: 10.25 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.0002999/0.3232, allocations: 295.1 kB / 1.331 GB, free: 9.961 MB / 1.029 GB
Notification: Performance of sort global known variables: time 1.11e-07/0.3232, allocations: 0 / 1.331 GB, free: 9.961 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0004333/0.3237, allocations: 119.8 kB / 1.331 GB, free: 9.844 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 (11):
 * Single equations (assignments): 11
 * 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.0003205/0.324, allocations: 183.4 kB / 1.331 GB, free: 9.656 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.0009409/0.3249, allocations: 459.1 kB / 1.332 GB, free: 9.195 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3249, allocations: 0 / 1.332 GB, free: 9.195 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003669/0.3253, allocations: 135.8 kB / 1.332 GB, free: 9.062 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.3258, allocations: 68.62 kB / 1.332 GB, free: 8.992 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.3269, allocations: 0.6387 MB / 1.333 GB, free: 8.328 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.3273, allocations: 0.7903 MB / 1.333 GB, free: 7.512 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 0.000163/0.3274, allocations: 45.59 kB / 1.333 GB, free: 7.469 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.697e-05/0.3275, allocations: 23.42 kB / 1.333 GB, free: 7.445 MB / 1.029 GB
Notification: Performance of SimCode: time 3.41e-07/0.3275, allocations: 4 kB / 1.333 GB, free: 7.441 MB / 1.029 GB
Notification: Performance of Templates: time 0.009265/0.3368, allocations: 4.98 MB / 1.338 GB, free: 2.512 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.0280224038288]