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.001843/0.001843, 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.001978/0.001978, allocations: 191.8 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.554/1.554, allocations: 225.6 MB / 250.8 MB, free: 2.895 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.854/2.854, allocations: 495.8 MB / 0.783 GB, free: 12.32 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.002027/0.002027, allocations: 59.91 kB / 1.137 GB, free: 10.14 MB / 0.8731 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.141/1.143, allocations: 173.6 MB / 1.307 GB, free: 0.9102 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001798/1.145, allocations: 0.5492 MB / 1.307 GB, free: 0.5742 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 4.297e-05/1.145, allocations: 5.125 kB / 1.307 GB, free: 0.5703 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.033e-05/1.145, allocations: 0 / 1.307 GB, free: 0.5703 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 3.022e-05/1.145, allocations: 0 / 1.307 GB, free: 0.5703 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 2.545e-05/1.145, allocations: 0 / 1.307 GB, free: 0.5703 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 3.571e-05/1.145, allocations: 1.922 kB / 1.307 GB, free: 0.5703 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 5.869e-05/1.145, allocations: 5.188 kB / 1.307 GB, free: 0.5664 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.945e-05/1.145, allocations: 6.109 kB / 1.307 GB, free: 0.5625 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.379e-05/1.145, allocations: 1.281 kB / 1.307 GB, free: 0.5625 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 2.152e-05/1.145, allocations: 3.938 kB / 1.307 GB, free: 0.5586 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.533e-05/1.145, allocations: 3.984 kB / 1.307 GB, free: 0.5547 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 4.038e-06/1.145, allocations: 1.188 kB / 1.307 GB, free: 0.5547 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 1.452e-05/1.145, allocations: 0.5156 kB / 1.307 GB, free: 0.5547 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 1.989e-05/1.145, allocations: 5.5 kB / 1.307 GB, free: 0.5508 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 6.224e-05/1.145, allocations: 5.203 kB / 1.307 GB, free: 0.5469 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/1.145, allocations: 0.7969 kB / 1.307 GB, free: 0.5469 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.573e-06/1.145, allocations: 1.125 kB / 1.307 GB, free: 0.5469 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 8.757e-06/1.145, allocations: 0 / 1.307 GB, free: 0.5469 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.0003286/1.146, allocations: 246.7 kB / 1.308 GB, free: 288 kB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/1.146, allocations: 9.406 kB / 1.308 GB, free: 288 kB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.468e-05/1.146, allocations: 3.062 kB / 1.308 GB, free: 288 kB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/1.146, allocations: 104.5 kB / 1.308 GB, free: 160 kB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/1.146, allocations: 384 / 1.308 GB, free: 160 kB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/1.146, allocations: 9.344 kB / 1.308 GB, free: 152 kB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.852e-05/1.146, allocations: 28.3 kB / 1.308 GB, free: 120 kB / 0.9981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/1.146, allocations: 192 / 1.308 GB, free: 120 kB / 0.9981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/1.146, allocations: 9.219 kB / 1.308 GB, free: 112 kB / 0.9981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/1.146, allocations: 0.5625 kB / 1.308 GB, free: 112 kB / 0.9981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.897e-05/1.146, allocations: 9.312 kB / 1.308 GB, free: 104 kB / 0.9981 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/1.146, allocations: 349.9 kB / 1.308 GB, free: 15.72 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.802e-05/1.146, allocations: 169.6 kB / 1.308 GB, free: 15.55 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.235e-05/1.146, allocations: 85.61 kB / 1.308 GB, free: 15.46 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/1.146, allocations: 75.28 kB / 1.308 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.703e-05/1.147, allocations: 107.5 kB / 1.308 GB, free: 15.27 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=0): time 1.212e-06/1.147, allocations: 3.938 kB / 1.308 GB, free: 15.27 MB / 1.014 GB
Notification: Performance of matching and sorting (n=0): time 7.193e-05/1.147, allocations: 27.39 kB / 1.309 GB, free: 15.24 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/1.147, allocations: 127.2 kB / 1.309 GB, free: 15.1 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.813e-05/1.147, allocations: 102.5 kB / 1.309 GB, free: 14.99 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.319e-05/1.147, allocations: 26.27 kB / 1.309 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/1.147, allocations: 81.11 kB / 1.309 GB, free: 14.88 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/1.147, allocations: 0 / 1.309 GB, free: 14.88 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.041e-05/1.147, allocations: 11.64 kB / 1.309 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001224/1.147, allocations: 312.8 kB / 1.309 GB, free: 14.55 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.519e-06/1.147, allocations: 3.938 kB / 1.309 GB, free: 14.55 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.407e-06/1.147, allocations: 1.031 kB / 1.309 GB, free: 14.55 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.612e-05/1.147, allocations: 79.41 kB / 1.309 GB, free: 14.47 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.154e-05/1.147, allocations: 79.98 kB / 1.309 GB, free: 14.39 MB / 1.014 GB
Notification: Performance of matching and sorting (n=0) (initialization): time 5.906e-05/1.147, allocations: 41.83 kB / 1.309 GB, free: 14.35 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 4.384e-05/1.147, allocations: 79.84 kB / 1.309 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.195e-05/1.147, allocations: 77.06 kB / 1.309 GB, free: 14.2 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 7.605e-05/1.147, allocations: 156.5 kB / 1.31 GB, free: 14.05 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.917e-05/1.147, allocations: 75.94 kB / 1.31 GB, free: 13.97 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.058e-05/1.147, allocations: 156.6 kB / 1.31 GB, free: 13.82 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.976e-05/1.147, allocations: 80.19 kB / 1.31 GB, free: 13.74 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/1.147, allocations: 77.06 kB / 1.31 GB, free: 13.67 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.0001308/1.148, allocations: 270.3 kB / 1.31 GB, free: 13.39 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.909e-05/1.148, allocations: 107.1 kB / 1.31 GB, free: 13.29 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.652e-05/1.148, allocations: 109.3 kB / 1.31 GB, free: 13.17 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-05/1.148, allocations: 178.2 kB / 1.311 GB, free: 12.99 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.99e-05/1.148, allocations: 186.4 kB / 1.311 GB, free: 12.8 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.458e-05/1.148, allocations: 186 kB / 1.311 GB, free: 12.61 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/1.148, allocations: 377 kB / 1.311 GB, free: 12.2 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.685e-05/1.148, allocations: 103.5 kB / 1.311 GB, free: 12.09 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.367e-05/1.148, allocations: 106.4 kB / 1.312 GB, free: 11.98 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-05/1.148, allocations: 182 kB / 1.312 GB, free: 11.8 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.068e-05/1.148, allocations: 186 kB / 1.312 GB, free: 11.61 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.43e-05/1.148, allocations: 182.1 kB / 1.312 GB, free: 11.43 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.46e-05/1.149, allocations: 178.3 kB / 1.312 GB, free: 11.25 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/1.149, allocations: 313 kB / 1.313 GB, free: 10.93 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.383e-05/1.149, allocations: 111.3 kB / 1.313 GB, free: 10.81 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.625e-05/1.149, allocations: 186.8 kB / 1.313 GB, free: 10.62 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.792e-05/1.149, allocations: 106.9 kB / 1.313 GB, free: 10.52 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.193e-05/1.149, allocations: 182.5 kB / 1.313 GB, free: 10.33 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.162e-05/1.149, allocations: 105.8 kB / 1.313 GB, free: 10.22 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 4.58e-05/1.149, allocations: 82.48 kB / 1.313 GB, free: 10.14 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/1.149, allocations: 0 / 1.313 GB, free: 10.14 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002497/1.149, allocations: 1.156 kB / 1.313 GB, free: 10.14 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.0001405/1.15, allocations: 170.6 kB / 1.313 GB, free: 9.98 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 4.485e-05/1.15, allocations: 1.531 kB / 1.313 GB, free: 9.98 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.15, allocations: 4.094 kB / 1.313 GB, free: 9.977 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 3.236e-06/1.15, allocations: 3.938 kB / 1.313 GB, free: 9.973 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/1.15, allocations: 458.7 kB / 1.314 GB, free: 9.523 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002435/1.15, allocations: 152.1 kB / 1.314 GB, free: 9.355 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/1.151, allocations: 0.6725 MB / 1.315 GB, free: 8.66 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 7.715e-06/1.151, allocations: 3.938 kB / 1.315 GB, free: 8.656 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.902e-05/1.151, allocations: 11.44 kB / 1.315 GB, free: 8.645 MB / 1.014 GB
Notification: Performance of SimCode: time 3.31e-07/1.151, allocations: 0 / 1.315 GB, free: 8.645 MB / 1.014 GB
Notification: Performance of Templates: time 0.002283/1.153, allocations: 164.6 kB / 1.315 GB, free: 8.594 MB / 1.014 GB
"
[Timeout remaining time 299]
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.368531753309071]