Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.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.00161/0.00161, allocations: 110 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.001763/0.001763, allocations: 190.9 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.531/1.531, allocations: 225.6 MB / 251 MB, free: 13.03 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.248/3.248, allocations: 496 MB / 0.7835 GB, free: 33.61 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant")
translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 66 kB / 1.138 GB, free: 33.88 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4595/0.4615, allocations: 173.6 MB / 1.307 GB, free: 1.82 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002117/0.4636, allocations: 0.5607 MB / 1.308 GB, free: 1.262 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 5.158e-05/0.4637, allocations: 4 kB / 1.308 GB, free: 1.258 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.4637, allocations: 0 / 1.308 GB, free: 1.258 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 3.208e-05/0.4638, allocations: 0 / 1.308 GB, free: 1.258 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 2.721e-05/0.4638, allocations: 7.938 kB / 1.308 GB, free: 1.25 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 3.623e-05/0.4638, allocations: 0 / 1.308 GB, free: 1.25 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 6.414e-05/0.4639, allocations: 4 kB / 1.308 GB, free: 1.246 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 6.329e-05/0.4639, allocations: 7.984 kB / 1.308 GB, free: 1.238 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.191e-05/0.464, allocations: 0 / 1.308 GB, free: 1.238 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 1.78e-05/0.464, allocations: 3.938 kB / 1.308 GB, free: 1.234 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.464, allocations: 0 / 1.308 GB, free: 1.234 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 3.556e-06/0.464, allocations: 0 / 1.308 GB, free: 1.234 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.464, allocations: 0 / 1.308 GB, free: 1.234 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 2.183e-05/0.464, allocations: 3.984 kB / 1.308 GB, free: 1.23 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 6.093e-05/0.4641, allocations: 4 kB / 1.308 GB, free: 1.227 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.4641, allocations: 4 kB / 1.308 GB, free: 1.223 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.883e-06/0.4641, allocations: 0 / 1.308 GB, free: 1.223 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 4.889e-06/0.4641, allocations: 0 / 1.308 GB, free: 1.223 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.000337/0.4644, allocations: 242.4 kB / 1.308 GB, free: 0.9531 MB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.4645, allocations: 12.86 kB / 1.308 GB, free: 0.9414 MB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.471e-05/0.4645, allocations: 0.9375 kB / 1.308 GB, free: 0.9414 MB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.4646, allocations: 106.5 kB / 1.308 GB, free: 0.8125 MB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.4646, allocations: 384 / 1.308 GB, free: 0.8125 MB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.4647, allocations: 4.312 kB / 1.308 GB, free: 0.8086 MB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.196e-05/0.4647, allocations: 34.2 kB / 1.308 GB, free: 0.7695 MB / 0.9981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.4648, allocations: 4.188 kB / 1.308 GB, free: 0.7656 MB / 0.9981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.4648, allocations: 7.938 kB / 1.308 GB, free: 0.7578 MB / 0.9981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.4648, allocations: 0 / 1.308 GB, free: 0.7578 MB / 0.9981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.927e-05/0.4648, allocations: 3.984 kB / 1.308 GB, free: 0.7539 MB / 0.9981 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.4652, allocations: 350.6 kB / 1.309 GB, free: 376 kB / 0.9981 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.4653, allocations: 181.5 kB / 1.309 GB, free: 184 kB / 0.9981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.801e-05/0.4653, allocations: 80.14 kB / 1.309 GB, free: 100 kB / 0.9981 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/0.4654, allocations: 75.28 kB / 1.309 GB, free: 24 kB / 0.9981 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.384e-05/0.4654, allocations: 109.9 kB / 1.309 GB, free: 15.91 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.4654, allocations: 0 / 1.309 GB, free: 15.91 MB / 1.014 GB
Notification: Performance of matching and sorting (n=0): time 0.0001107/0.4655, allocations: 33.69 kB / 1.309 GB, free: 15.87 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.99e-05/0.4656, allocations: 130.7 kB / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.4657, allocations: 97.86 kB / 1.309 GB, free: 15.62 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.4657, allocations: 25.7 kB / 1.309 GB, free: 15.59 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 3.884e-05/0.4658, allocations: 80.14 kB / 1.309 GB, free: 15.51 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.683e-06/0.4658, allocations: 0 / 1.309 GB, free: 15.51 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.356e-05/0.4658, allocations: 17.66 kB / 1.309 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001479/0.4659, allocations: 310.8 kB / 1.31 GB, free: 15.17 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.666e-06/0.4659, allocations: 4.125 kB / 1.31 GB, free: 15.17 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.716e-06/0.4659, allocations: 0 / 1.31 GB, free: 15.17 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.421e-05/0.466, allocations: 75.28 kB / 1.31 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.623e-05/0.466, allocations: 75.28 kB / 1.31 GB, free: 15.02 MB / 1.014 GB
Notification: Performance of matching and sorting (n=0) (initialization): time 6.478e-05/0.4661, allocations: 37.62 kB / 1.31 GB, free: 14.98 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 6.007e-05/0.4661, allocations: 83.28 kB / 1.31 GB, free: 14.89 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-05/0.4662, allocations: 79.22 kB / 1.31 GB, free: 14.82 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 8.549e-05/0.4663, allocations: 154.6 kB / 1.31 GB, free: 14.66 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.318e-05/0.4663, allocations: 79.28 kB / 1.31 GB, free: 14.59 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.238e-05/0.4664, allocations: 154.5 kB / 1.31 GB, free: 14.43 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.665e-05/0.4665, allocations: 75.28 kB / 1.31 GB, free: 14.36 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/0.4665, allocations: 87.2 kB / 1.311 GB, free: 14.27 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.0001517/0.4666, allocations: 269.1 kB / 1.311 GB, free: 14 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.726e-05/0.4667, allocations: 105 kB / 1.311 GB, free: 13.89 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.691e-05/0.4668, allocations: 104.1 kB / 1.311 GB, free: 13.78 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.246e-05/0.4669, allocations: 184.2 kB / 1.311 GB, free: 13.59 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.108e-05/0.467, allocations: 184.2 kB / 1.311 GB, free: 13.41 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.475e-05/0.4671, allocations: 180.2 kB / 1.312 GB, free: 13.22 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.4673, allocations: 384.2 kB / 1.312 GB, free: 12.8 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.597e-05/0.4674, allocations: 105 kB / 1.312 GB, free: 12.69 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.195e-05/0.4674, allocations: 108.9 kB / 1.312 GB, free: 12.57 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 9.018e-05/0.4675, allocations: 176.3 kB / 1.312 GB, free: 12.39 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/0.4676, allocations: 188.2 kB / 1.312 GB, free: 12.2 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.491e-05/0.4677, allocations: 176.6 kB / 1.313 GB, free: 12.02 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.399e-05/0.4678, allocations: 184.2 kB / 1.313 GB, free: 11.84 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.468, allocations: 315.7 kB / 1.313 GB, free: 11.5 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.168e-05/0.4681, allocations: 108.9 kB / 1.313 GB, free: 11.39 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.4682, allocations: 176.3 kB / 1.313 GB, free: 11.21 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.227e-05/0.4683, allocations: 112.9 kB / 1.313 GB, free: 11.09 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.32e-05/0.4684, allocations: 180.3 kB / 1.314 GB, free: 10.91 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-05/0.4684, allocations: 105 kB / 1.314 GB, free: 10.8 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 4.792e-05/0.4685, allocations: 79.28 kB / 1.314 GB, free: 10.72 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6.1e-08/0.4685, allocations: 0 / 1.314 GB, free: 10.72 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002699/0.4688, allocations: 0 / 1.314 GB, free: 10.72 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.000164/0.4689, allocations: 178.6 kB / 1.314 GB, free: 10.54 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 4.801e-05/0.469, allocations: 0 / 1.314 GB, free: 10.54 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.469, allocations: 0 / 1.314 GB, free: 10.54 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 3.005e-06/0.469, allocations: 7.984 kB / 1.314 GB, free: 10.53 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.4694, allocations: 458 kB / 1.314 GB, free: 10.08 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002657/0.4697, allocations: 148.2 kB / 1.315 GB, free: 9.906 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.47, allocations: 0.6768 MB / 1.315 GB, free: 9.203 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 8.546e-06/0.47, allocations: 0 / 1.315 GB, free: 9.203 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/0.47, allocations: 7.438 kB / 1.315 GB, free: 9.195 MB / 1.014 GB
Notification: Performance of SimCode: time 5.21e-07/0.47, allocations: 0 / 1.315 GB, free: 9.195 MB / 1.014 GB
Notification: Performance of Templates: time 0.002223/0.4723, allocations: 164.8 kB / 1.315 GB, free: 9.035 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.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.217435140162706]