Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001517/0.001517, 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.001654/0.001654, allocations: 185.6 kB / 22.22 MB, free: 5.164 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.325/1.325, 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-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.861/2.861, allocations: 496 MB / 0.7835 GB, free: 33.56 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.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_12_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_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 68.61 kB / 1.138 GB, free: 33.79 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3228, allocations: 173.6 MB / 1.307 GB, free: 1.781 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003221/0.326, allocations: 2.083 MB / 1.309 GB, free: 15.69 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.005027/0.331, allocations: 4.116 MB / 1.313 GB, free: 11.55 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 8.69e-05/0.3311, allocations: 7.938 kB / 1.313 GB, free: 11.54 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0007626/0.3319, allocations: 207 kB / 1.314 GB, free: 11.34 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.00012/0.332, allocations: 63.44 kB / 1.314 GB, free: 11.28 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006021/0.3326, allocations: 270.7 kB / 1.314 GB, free: 11.02 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0005697/0.3332, allocations: 386.8 kB / 1.314 GB, free: 10.64 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3333, allocations: 32.56 kB / 1.314 GB, free: 10.61 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.3334, allocations: 123.6 kB / 1.314 GB, free: 10.48 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.3336, allocations: 119.5 kB / 1.314 GB, free: 10.37 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.3336, allocations: 16 kB / 1.315 GB, free: 10.35 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005039/0.3342, allocations: 335.5 kB / 1.315 GB, free: 10.02 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.3343, allocations: 107.6 kB / 1.315 GB, free: 9.918 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.3344, allocations: 151.1 kB / 1.315 GB, free: 9.77 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0005961/0.335, allocations: 0.5214 MB / 1.316 GB, free: 9.246 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.335, allocations: 0 / 1.316 GB, free: 9.246 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.333e-06/0.335, allocations: 0 / 1.316 GB, free: 9.246 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.282e-06/0.335, allocations: 0 / 1.316 GB, free: 9.246 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.001268/0.3363, allocations: 0.6847 MB / 1.316 GB, free: 8.523 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3363, allocations: 12.92 kB / 1.316 GB, free: 8.512 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.064e-05/0.3364, allocations: 40.69 kB / 1.316 GB, free: 8.473 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.3369, allocations: 280.7 kB / 1.317 GB, free: 8.172 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.3369, allocations: 8.375 kB / 1.317 GB, free: 8.164 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.3369, allocations: 8.375 kB / 1.317 GB, free: 8.156 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.3374, allocations: 193.6 kB / 1.317 GB, free: 7.961 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3374, allocations: 0 / 1.317 GB, free: 7.961 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.3374, allocations: 8 kB / 1.317 GB, free: 7.953 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3374, allocations: 0 / 1.317 GB, free: 7.953 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000651/0.3381, allocations: 243.8 kB / 1.317 GB, free: 7.715 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009593/0.339, allocations: 0.5657 MB / 1.318 GB, free: 7.105 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004024/0.3395, allocations: 162.5 kB / 1.318 GB, free: 6.938 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.3398, allocations: 128.8 kB / 1.318 GB, free: 6.809 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 5.469e-05/0.3398, allocations: 19.98 kB / 1.318 GB, free: 6.789 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.3399, allocations: 34.56 kB / 1.318 GB, free: 6.746 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.3399, allocations: 3.938 kB / 1.318 GB, free: 6.742 MB / 1.014 GB
Notification: Performance of matching and sorting (n=11): time 0.001151/0.341, allocations: 449.4 kB / 1.318 GB, free: 6.297 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.341, allocations: 51.41 kB / 1.318 GB, free: 6.234 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004386/0.3415, allocations: 425.4 kB / 1.319 GB, free: 5.809 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.3415, allocations: 29.7 kB / 1.319 GB, free: 5.773 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.3416, allocations: 180 kB / 1.319 GB, free: 5.594 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.3417, allocations: 35.69 kB / 1.319 GB, free: 5.559 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-05/0.3418, allocations: 41.66 kB / 1.319 GB, free: 5.512 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001535/0.3419, allocations: 346.8 kB / 1.319 GB, free: 5.164 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003869/0.3423, allocations: 171.9 kB / 1.32 GB, free: 4.996 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003548/0.3427, allocations: 168.8 kB / 1.32 GB, free: 4.832 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007271/0.3434, allocations: 351.4 kB / 1.32 GB, free: 4.48 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3434, allocations: 0 / 1.32 GB, free: 4.48 MB / 1.014 GB
Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008736/0.3443, allocations: 469.3 kB / 1.32 GB, free: 4.012 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 4.833e-05/0.3443, allocations: 41.69 kB / 1.321 GB, free: 3.965 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3443, allocations: 0 / 1.321 GB, free: 3.965 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3443, allocations: 0 / 1.321 GB, free: 3.965 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.3446, allocations: 51.94 kB / 1.321 GB, free: 3.914 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.3446, allocations: 8 kB / 1.321 GB, free: 3.906 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.3448, allocations: 47.62 kB / 1.321 GB, free: 3.859 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.3449, allocations: 7.984 kB / 1.321 GB, free: 3.852 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 (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.0001504/0.345, allocations: 161.7 kB / 1.321 GB, free: 3.684 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.018e-05/0.3451, allocations: 39.77 kB / 1.321 GB, free: 3.645 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008315/0.3459, allocations: 340.6 kB / 1.321 GB, free: 3.309 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3459, allocations: 0 / 1.321 GB, free: 3.309 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.3459, allocations: 0 / 1.321 GB, free: 3.309 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3459, allocations: 3.938 kB / 1.321 GB, free: 3.305 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003574/0.3463, allocations: 316.4 kB / 1.321 GB, free: 2.953 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.3463, allocations: 0 / 1.321 GB, free: 2.953 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002733/0.3466, allocations: 47.89 kB / 1.322 GB, free: 2.906 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.3466, allocations: 0 / 1.322 GB, free: 2.906 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.3466, allocations: 7.984 kB / 1.322 GB, free: 2.898 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3466, allocations: 7.938 kB / 1.322 GB, free: 2.891 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3466, allocations: 0 / 1.322 GB, free: 2.891 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007807/0.3474, allocations: 419 kB / 1.322 GB, free: 2.465 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.3475, allocations: 55.73 kB / 1.322 GB, free: 2.41 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.3475, allocations: 0 / 1.322 GB, free: 2.41 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.3477, allocations: 23.97 kB / 1.322 GB, free: 2.387 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/0.3478, allocations: 19.91 kB / 1.322 GB, free: 2.367 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.3478, allocations: 4 kB / 1.322 GB, free: 2.363 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0002896/0.3481, allocations: 295 kB / 1.322 GB, free: 2.078 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.3481, allocations: 4 kB / 1.322 GB, free: 2.074 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.000411/0.3485, allocations: 119.8 kB / 1.322 GB, free: 1.957 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 (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.0003074/0.3488, allocations: 179.7 kB / 1.323 GB, free: 1.773 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0008994/0.3497, allocations: 455.1 kB / 1.323 GB, free: 1.316 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3497, allocations: 3.938 kB / 1.323 GB, free: 1.312 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003636/0.3501, allocations: 139.8 kB / 1.323 GB, free: 1.176 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/0.3506, allocations: 65.61 kB / 1.323 GB, free: 1.109 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.3516, allocations: 0.6348 MB / 1.324 GB, free: 460 kB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.352, allocations: 0.7943 MB / 1.325 GB, free: 15.63 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 0.0001536/0.3522, allocations: 45.55 kB / 1.325 GB, free: 15.59 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.838e-05/0.3522, allocations: 23.42 kB / 1.325 GB, free: 15.56 MB / 1.029 GB
Notification: Performance of SimCode: time 3.1e-07/0.3523, allocations: 3.938 kB / 1.325 GB, free: 15.56 MB / 1.029 GB
Notification: Performance of Templates: time 0.008967/0.3612, allocations: 4.986 MB / 1.33 GB, free: 10.62 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.104517034254968]