Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.001343/0.001343, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.00149/0.00149, allocations: 186 kB / 22.23 MB, free: 5.137 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.484/1.484, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.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 3.241/3.241, allocations: 496 MB / 0.7835 GB, free: 33.4 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.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant")
translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 64.11 kB / 1.138 GB, free: 33.82 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4485/0.4506, allocations: 173.6 MB / 1.307 GB, free: 1.73 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001872/0.4524, allocations: 0.5975 MB / 1.308 GB, free: 1.137 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 4.262e-05/0.4525, allocations: 4 kB / 1.308 GB, free: 1.133 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.213e-05/0.4525, allocations: 4 kB / 1.308 GB, free: 1.129 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 2.341e-05/0.4525, allocations: 0 / 1.308 GB, free: 1.129 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 3.671e-05/0.4526, allocations: 0 / 1.308 GB, free: 1.129 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 3.247e-05/0.4526, allocations: 0 / 1.308 GB, free: 1.129 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 6.125e-05/0.4527, allocations: 0 / 1.308 GB, free: 1.129 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 6.036e-05/0.4527, allocations: 4 kB / 1.308 GB, free: 1.125 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.08e-05/0.4527, allocations: 7.938 kB / 1.308 GB, free: 1.117 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 2.125e-05/0.4528, allocations: 3.984 kB / 1.308 GB, free: 1.113 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.4528, allocations: 3.938 kB / 1.308 GB, free: 1.109 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 3.517e-06/0.4528, allocations: 0 / 1.308 GB, free: 1.109 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.4528, allocations: 0 / 1.308 GB, free: 1.109 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 2.196e-05/0.4528, allocations: 4 kB / 1.308 GB, free: 1.105 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 6.685e-05/0.4529, allocations: 7.984 kB / 1.308 GB, free: 1.098 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.4529, allocations: 0 / 1.308 GB, free: 1.098 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.302e-06/0.4529, allocations: 0 / 1.308 GB, free: 1.098 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 5.731e-06/0.4529, allocations: 0 / 1.308 GB, free: 1.098 MB / 0.9981 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1
 * Number of variables: 1
Notification: Performance of Generate backend data structure: time 0.0003394/0.4532, allocations: 242.4 kB / 1.308 GB, free: 0.8281 MB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.4533, allocations: 8.922 kB / 1.308 GB, free: 0.8203 MB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/0.4533, allocations: 0.9375 kB / 1.308 GB, free: 0.8203 MB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.4534, allocations: 106.5 kB / 1.308 GB, free: 0.6914 MB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.4534, allocations: 8.359 kB / 1.308 GB, free: 0.6836 MB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.4534, allocations: 384 / 1.308 GB, free: 0.6836 MB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.732e-05/0.4535, allocations: 26.27 kB / 1.308 GB, free: 0.6523 MB / 0.9981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.4535, allocations: 4.188 kB / 1.308 GB, free: 0.6484 MB / 0.9981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.4535, allocations: 3.938 kB / 1.308 GB, free: 0.6445 MB / 0.9981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.4536, allocations: 0 / 1.308 GB, free: 0.6445 MB / 0.9981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.545e-05/0.4536, allocations: 3.938 kB / 1.308 GB, free: 0.6406 MB / 0.9981 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003746/0.4539, allocations: 354.6 kB / 1.309 GB, free: 256 kB / 0.9981 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.454, allocations: 173.5 kB / 1.309 GB, free: 72 kB / 0.9981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 6.434e-05/0.4541, allocations: 80.14 kB / 1.309 GB, free: 15.99 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.4541, allocations: 75.28 kB / 1.309 GB, free: 15.91 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.153e-05/0.4542, allocations: 113.8 kB / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.4542, allocations: 4 kB / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of matching and sorting (n=0): time 7.402e-05/0.4543, allocations: 29.7 kB / 1.309 GB, free: 15.75 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.059e-05/0.4544, allocations: 126.7 kB / 1.309 GB, free: 15.62 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.4545, allocations: 101.8 kB / 1.309 GB, free: 15.51 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.4545, allocations: 29.64 kB / 1.309 GB, free: 15.47 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.4545, allocations: 80.14 kB / 1.309 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.492e-06/0.4545, allocations: 0 / 1.309 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.4546, allocations: 13.72 kB / 1.309 GB, free: 15.37 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001562/0.4547, allocations: 315 kB / 1.31 GB, free: 15.05 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.749e-06/0.4547, allocations: 0 / 1.31 GB, free: 15.05 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.496e-06/0.4547, allocations: 0 / 1.31 GB, free: 15.05 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.398e-05/0.4548, allocations: 75.28 kB / 1.31 GB, free: 14.98 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.17e-05/0.4548, allocations: 75.28 kB / 1.31 GB, free: 14.91 MB / 1.014 GB
Notification: Performance of matching and sorting (n=0) (initialization): time 6.379e-05/0.4548, allocations: 37.58 kB / 1.31 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 4.083e-05/0.4549, allocations: 79.28 kB / 1.31 GB, free: 14.79 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.468e-05/0.4549, allocations: 75.28 kB / 1.31 GB, free: 14.71 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-05/0.455, allocations: 170.5 kB / 1.31 GB, free: 14.54 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.163e-05/0.455, allocations: 75.28 kB / 1.31 GB, free: 14.47 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.721e-05/0.4551, allocations: 154.5 kB / 1.31 GB, free: 14.32 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.3e-05/0.4552, allocations: 75.28 kB / 1.311 GB, free: 14.24 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/0.4552, allocations: 83.22 kB / 1.311 GB, free: 14.16 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 (0):
 * Single equations (assignments): 0
 * 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.0001601/0.4554, allocations: 269.1 kB / 1.311 GB, free: 13.89 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.312e-05/0.4555, allocations: 108.9 kB / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.775e-05/0.4555, allocations: 108.1 kB / 1.311 GB, free: 13.66 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.423e-05/0.4556, allocations: 184.2 kB / 1.311 GB, free: 13.47 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.6e-05/0.4557, allocations: 176.3 kB / 1.311 GB, free: 13.29 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.895e-05/0.4558, allocations: 176.3 kB / 1.312 GB, free: 13.11 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.4561, allocations: 388.2 kB / 1.312 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.72e-05/0.4561, allocations: 105 kB / 1.312 GB, free: 12.57 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.956e-05/0.4562, allocations: 104.9 kB / 1.312 GB, free: 12.46 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 9.958e-05/0.4563, allocations: 176.3 kB / 1.312 GB, free: 12.29 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.621e-05/0.4564, allocations: 188.2 kB / 1.313 GB, free: 12.09 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.894e-05/0.4564, allocations: 184.5 kB / 1.313 GB, free: 11.91 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.373e-05/0.4565, allocations: 180.3 kB / 1.313 GB, free: 11.72 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.4567, allocations: 311.7 kB / 1.313 GB, free: 11.39 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.746e-05/0.4568, allocations: 113 kB / 1.313 GB, free: 11.28 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.795e-05/0.4569, allocations: 184.2 kB / 1.313 GB, free: 11.09 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.169e-05/0.457, allocations: 101 kB / 1.314 GB, free: 10.98 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.623e-05/0.4571, allocations: 180.2 kB / 1.314 GB, free: 10.8 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.562e-05/0.4571, allocations: 105 kB / 1.314 GB, free: 10.69 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 5.307e-05/0.4572, allocations: 79.27 kB / 1.314 GB, free: 10.61 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.4572, allocations: 0 / 1.314 GB, free: 10.61 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002489/0.4574, allocations: 0 / 1.314 GB, free: 10.61 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 (0):
 * Single equations (assignments): 0
 * 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.0001801/0.4576, allocations: 178.6 kB / 1.314 GB, free: 10.43 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 4.655e-05/0.4577, allocations: 0 / 1.314 GB, free: 10.43 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4577, allocations: 3.938 kB / 1.314 GB, free: 10.42 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 3.076e-06/0.4577, allocations: 7.938 kB / 1.314 GB, free: 10.41 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.4581, allocations: 455.6 kB / 1.314 GB, free: 9.965 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002543/0.4583, allocations: 156.2 kB / 1.315 GB, free: 9.785 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.4587, allocations: 0.6768 MB / 1.315 GB, free: 9.082 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 6.382e-06/0.4587, allocations: 0 / 1.315 GB, free: 9.082 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.03e-05/0.4587, allocations: 7.438 kB / 1.315 GB, free: 9.074 MB / 1.014 GB
Notification: Performance of SimCode: time 3.21e-07/0.4587, allocations: 0 / 1.315 GB, free: 9.074 MB / 1.014 GB
Notification: Performance of Templates: time 0.002472/0.4612, allocations: 170.8 kB / 1.315 GB, free: 8.91 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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: 9.290685469284654]