Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.001997/0.001997, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002285/0.002285, allocations: 191.5 kB / 22.23 MB, free: 5.102 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.622/1.622, 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-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 3.24/3.24, allocations: 0.4893 GB / 0.7884 GB, free: 33.14 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-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.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change")
translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002776/0.002776, allocations: 61.67 kB / 1.145 GB, free: 30.6 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4228/0.4256, allocations: 174.9 MB / 1.316 GB, free: 9.684 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.00235/0.4279, allocations: 0.7363 MB / 1.317 GB, free: 8.949 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001756/0.4297, allocations: 1.159 MB / 1.318 GB, free: 7.777 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.383e-05/0.4297, allocations: 0 / 1.318 GB, free: 7.777 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 3.651e-05/0.4298, allocations: 3.938 kB / 1.318 GB, free: 7.773 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 8.748e-05/0.4299, allocations: 19.84 kB / 1.318 GB, free: 7.754 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006049/0.4305, allocations: 134.3 kB / 1.318 GB, free: 7.625 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0002029/0.4307, allocations: 123.8 kB / 1.318 GB, free: 7.504 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.462e-05/0.4308, allocations: 15.97 kB / 1.318 GB, free: 7.488 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.4309, allocations: 43.91 kB / 1.318 GB, free: 7.445 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.431, allocations: 47.83 kB / 1.318 GB, free: 7.398 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.321e-05/0.431, allocations: 15.98 kB / 1.318 GB, free: 7.383 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.733e-05/0.4311, allocations: 23.98 kB / 1.318 GB, free: 7.359 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.429e-05/0.4311, allocations: 11.92 kB / 1.318 GB, free: 7.348 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 7.329e-05/0.4312, allocations: 43.86 kB / 1.318 GB, free: 7.305 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.4314, allocations: 107.6 kB / 1.318 GB, free: 7.199 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.4314, allocations: 3.984 kB / 1.318 GB, free: 7.195 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.144e-06/0.4314, allocations: 3.938 kB / 1.318 GB, free: 7.191 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.402e-05/0.4314, allocations: 4 kB / 1.318 GB, free: 7.188 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: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0006741/0.4321, allocations: 339.8 kB / 1.319 GB, free: 6.816 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.4322, allocations: 12.03 kB / 1.319 GB, free: 6.805 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.624e-05/0.4322, allocations: 8.891 kB / 1.319 GB, free: 6.797 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.4323, allocations: 110.5 kB / 1.319 GB, free: 6.664 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.4324, allocations: 4.375 kB / 1.319 GB, free: 6.66 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.4324, allocations: 8.375 kB / 1.319 GB, free: 6.652 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.4326, allocations: 66.22 kB / 1.319 GB, free: 6.582 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.4326, allocations: 192 / 1.319 GB, free: 6.582 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.4326, allocations: 3.938 kB / 1.319 GB, free: 6.578 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.4326, allocations: 0 / 1.319 GB, free: 6.578 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001992/0.4328, allocations: 47.89 kB / 1.319 GB, free: 6.531 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005583/0.4334, allocations: 295.8 kB / 1.319 GB, free: 6.199 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.4336, allocations: 58.48 kB / 1.319 GB, free: 6.133 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.4337, allocations: 37.02 kB / 1.319 GB, free: 6.094 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.4337, allocations: 3.938 kB / 1.319 GB, free: 6.09 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/0.434, allocations: 99.36 kB / 1.32 GB, free: 5.98 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.434, allocations: 0 / 1.32 GB, free: 5.98 MB / 1.014 GB
Notification: Performance of matching and sorting (n=8): time 0.0004818/0.4344, allocations: 133.8 kB / 1.32 GB, free: 5.844 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.4345, allocations: 55.41 kB / 1.32 GB, free: 5.777 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.4346, allocations: 125.7 kB / 1.32 GB, free: 5.645 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.4347, allocations: 33.7 kB / 1.32 GB, free: 5.605 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 8.806e-05/0.4348, allocations: 92.09 kB / 1.32 GB, free: 5.512 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.4348, allocations: 27.81 kB / 1.32 GB, free: 5.484 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.958e-05/0.4349, allocations: 37.7 kB / 1.32 GB, free: 5.441 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.000152/0.435, allocations: 318.8 kB / 1.32 GB, free: 5.121 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.4352, allocations: 55.95 kB / 1.32 GB, free: 5.066 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.4354, allocations: 84.25 kB / 1.32 GB, free: 4.969 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/0.4357, allocations: 145.9 kB / 1.321 GB, free: 4.805 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4357, allocations: 0 / 1.321 GB, free: 4.805 MB / 1.014 GB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.000515/0.4363, allocations: 215.1 kB / 1.321 GB, free: 4.582 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 4.258e-05/0.4363, allocations: 37.69 kB / 1.321 GB, free: 4.539 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.4363, allocations: 4 kB / 1.321 GB, free: 4.535 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.4363, allocations: 0 / 1.321 GB, free: 4.535 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.999e-05/0.4364, allocations: 15.98 kB / 1.321 GB, free: 4.52 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.4364, allocations: 0 / 1.321 GB, free: 4.52 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.4366, allocations: 32.09 kB / 1.321 GB, free: 4.488 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.4367, allocations: 15.92 kB / 1.321 GB, free: 4.473 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 5
 * Number of states: 0 ()
 * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (11):
 * Single equations (assignments): 10
 * 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.0001249/0.4368, allocations: 132.1 kB / 1.321 GB, free: 4.336 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.4368, allocations: 7.953 kB / 1.321 GB, free: 4.328 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.858e-05/0.4368, allocations: 4.375 kB / 1.321 GB, free: 4.32 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4368, allocations: 0 / 1.321 GB, free: 4.32 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4368, allocations: 0 / 1.321 GB, free: 4.32 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.4369, allocations: 7.984 kB / 1.321 GB, free: 4.312 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005266/0.4374, allocations: 361.4 kB / 1.321 GB, free: 3.91 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4374, allocations: 0 / 1.321 GB, free: 3.91 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.019e-05/0.4374, allocations: 7.984 kB / 1.321 GB, free: 3.902 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.4374, allocations: 4 kB / 1.321 GB, free: 3.898 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.4375, allocations: 0 / 1.321 GB, free: 3.898 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4375, allocations: 0 / 1.321 GB, free: 3.898 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4375, allocations: 0 / 1.321 GB, free: 3.898 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/0.4378, allocations: 207.4 kB / 1.322 GB, free: 3.68 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.561e-05/0.4378, allocations: 11.89 kB / 1.322 GB, free: 3.668 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.4378, allocations: 0 / 1.322 GB, free: 3.668 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.111e-05/0.4379, allocations: 7.984 kB / 1.322 GB, free: 3.66 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.438, allocations: 19.91 kB / 1.322 GB, free: 3.641 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.438, allocations: 7.938 kB / 1.322 GB, free: 3.633 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 6.212e-05/0.4381, allocations: 95.27 kB / 1.322 GB, free: 3.539 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.4381, allocations: 0 / 1.322 GB, free: 3.539 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002711/0.4383, allocations: 20 kB / 1.322 GB, free: 3.52 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y)
 * Number of discrete states: 1 (change.u)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (8):
 * Single equations (assignments): 6
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 2
 * 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.0001814/0.4385, allocations: 103.8 kB / 1.322 GB, free: 3.41 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0004295/0.4389, allocations: 163.2 kB / 1.322 GB, free: 3.238 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.4389, allocations: 4.25 kB / 1.322 GB, free: 3.234 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.4391, allocations: 31.98 kB / 1.322 GB, free: 3.203 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.4394, allocations: 16.17 kB / 1.322 GB, free: 3.188 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.4398, allocations: 166.7 kB / 1.322 GB, free: 2.996 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.4401, allocations: 0.6885 MB / 1.323 GB, free: 2.281 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.491e-05/0.4401, allocations: 8 kB / 1.323 GB, free: 2.273 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.4402, allocations: 11.44 kB / 1.323 GB, free: 2.262 MB / 1.014 GB
Notification: Performance of SimCode: time 3.21e-07/0.4402, allocations: 0 / 1.323 GB, free: 2.262 MB / 1.014 GB
Notification: Performance of Templates: time 0.00505/0.4452, allocations: 1.476 MB / 1.324 GB, free: 0.8047 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.777192294597626]