Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.001563/0.001563, 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.001838/0.001838, allocations: 192 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.488/1.488, allocations: 225.6 MB / 251 MB, free: 13.02 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.176/3.176, allocations: 0.4893 GB / 0.7884 GB, free: 33.01 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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse")
translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 65.98 kB / 1.145 GB, free: 30.71 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4348/0.4367, allocations: 174.9 MB / 1.316 GB, free: 9.688 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002564/0.4393, allocations: 0.9662 MB / 1.317 GB, free: 8.723 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.002041/0.4413, allocations: 1.443 MB / 1.318 GB, free: 7.266 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 8.09e-05/0.4414, allocations: 0 / 1.318 GB, free: 7.266 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 5.182e-05/0.4415, allocations: 19.73 kB / 1.318 GB, free: 7.246 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.4416, allocations: 59.56 kB / 1.318 GB, free: 7.188 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.4427, allocations: 452.8 kB / 1.319 GB, free: 6.758 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0005728/0.4433, allocations: 487.1 kB / 1.319 GB, free: 6.281 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.4434, allocations: 33.94 kB / 1.319 GB, free: 6.246 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.4436, allocations: 183.6 kB / 1.32 GB, free: 6.066 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.4439, allocations: 167.4 kB / 1.32 GB, free: 5.902 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 7.361e-05/0.444, allocations: 52 kB / 1.32 GB, free: 5.852 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.4441, allocations: 63.98 kB / 1.32 GB, free: 5.789 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 4.714e-05/0.4441, allocations: 31.86 kB / 1.32 GB, free: 5.758 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.4443, allocations: 179.4 kB / 1.32 GB, free: 5.582 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0005504/0.4449, allocations: 498.5 kB / 1.321 GB, free: 5.094 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4449, allocations: 3.938 kB / 1.321 GB, free: 5.09 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.813e-06/0.4449, allocations: 0 / 1.321 GB, free: 5.09 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.755e-06/0.4449, allocations: 0 / 1.321 GB, free: 5.09 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: 16
 * Number of variables: 16
Notification: Performance of Generate backend data structure: time 0.0009896/0.4459, allocations: 0.5625 MB / 1.321 GB, free: 4.469 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.4459, allocations: 8.031 kB / 1.321 GB, free: 4.461 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.446, allocations: 32.8 kB / 1.321 GB, free: 4.43 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.4462, allocations: 169.2 kB / 1.321 GB, free: 4.242 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/0.4463, allocations: 20.36 kB / 1.321 GB, free: 4.223 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.318e-05/0.4463, allocations: 20.38 kB / 1.321 GB, free: 4.203 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.4466, allocations: 128.5 kB / 1.321 GB, free: 4.062 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.4466, allocations: 192 / 1.321 GB, free: 4.062 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.4466, allocations: 11.94 kB / 1.321 GB, free: 4.051 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.4466, allocations: 3.984 kB / 1.321 GB, free: 4.047 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.4467, allocations: 55.91 kB / 1.321 GB, free: 3.992 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.4479, allocations: 0.8397 MB / 1.322 GB, free: 3.098 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.4481, allocations: 114.4 kB / 1.322 GB, free: 2.949 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.578e-05/0.4482, allocations: 51.48 kB / 1.322 GB, free: 2.887 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.4482, allocations: 4 kB / 1.322 GB, free: 2.883 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000281/0.4485, allocations: 174.6 kB / 1.323 GB, free: 2.688 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.4485, allocations: 0 / 1.323 GB, free: 2.688 MB / 1.014 GB
Notification: Performance of matching and sorting (n=16): time 0.0004927/0.449, allocations: 233.3 kB / 1.323 GB, free: 2.453 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.4491, allocations: 132.5 kB / 1.323 GB, free: 2.293 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/0.4494, allocations: 236.8 kB / 1.323 GB, free: 2.051 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 5.479e-05/0.4494, allocations: 41.7 kB / 1.323 GB, free: 2.004 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.4496, allocations: 140.4 kB / 1.323 GB, free: 1.859 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.4496, allocations: 27.81 kB / 1.323 GB, free: 1.832 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.4498, allocations: 93.64 kB / 1.324 GB, free: 1.734 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001809/0.45, allocations: 334.8 kB / 1.324 GB, free: 1.398 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003048/0.4503, allocations: 144.2 kB / 1.324 GB, free: 1.254 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003572/0.4506, allocations: 222.7 kB / 1.324 GB, free: 1 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005148/0.4511, allocations: 372.9 kB / 1.325 GB, free: 0.5742 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.4511, allocations: 0 / 1.325 GB, free: 0.5742 MB / 1.014 GB
Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009615/0.4521, allocations: 0.5663 MB / 1.325 GB, free: 15.98 MB / 1.029 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.4522, allocations: 136.4 kB / 1.325 GB, free: 15.82 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.4523, allocations: 7.984 kB / 1.325 GB, free: 15.81 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.4523, allocations: 4 kB / 1.325 GB, free: 15.81 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.927e-05/0.4524, allocations: 8 kB / 1.325 GB, free: 15.8 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.4524, allocations: 7.938 kB / 1.325 GB, free: 15.79 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006081/0.453, allocations: 119.9 kB / 1.325 GB, free: 15.68 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.399e-05/0.4531, allocations: 27.97 kB / 1.325 GB, free: 15.65 MB / 1.029 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 12
 * Number of states: 0 ()
 * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (20):
 * Single equations (assignments): 16
 * Array equations: 0
 * Algorithm blocks: 4
 * 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.0001869/0.4532, allocations: 149.7 kB / 1.326 GB, free: 15.49 MB / 1.029 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/0.4533, allocations: 19.91 kB / 1.326 GB, free: 15.47 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.054e-05/0.4533, allocations: 29.27 kB / 1.326 GB, free: 15.44 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.4534, allocations: 4.938 kB / 1.326 GB, free: 15.43 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.4534, allocations: 0 / 1.326 GB, free: 15.43 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.4534, allocations: 3.938 kB / 1.326 GB, free: 15.43 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.4536, allocations: 240.5 kB / 1.326 GB, free: 15.15 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4537, allocations: 0 / 1.326 GB, free: 15.15 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/0.4537, allocations: 8 kB / 1.326 GB, free: 15.14 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.4537, allocations: 4 kB / 1.326 GB, free: 15.14 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.4537, allocations: 8 kB / 1.326 GB, free: 15.13 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.4537, allocations: 0 / 1.326 GB, free: 15.13 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.4537, allocations: 7.984 kB / 1.326 GB, free: 15.12 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.4541, allocations: 223.3 kB / 1.326 GB, free: 14.88 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.4541, allocations: 15.89 kB / 1.326 GB, free: 14.86 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.4541, allocations: 8 kB / 1.326 GB, free: 14.86 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.779e-05/0.4542, allocations: 4 kB / 1.326 GB, free: 14.85 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.494e-05/0.4542, allocations: 23.91 kB / 1.326 GB, free: 14.83 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.4542, allocations: 8 kB / 1.326 GB, free: 14.82 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.0001765/0.4544, allocations: 168.5 kB / 1.326 GB, free: 14.66 MB / 1.029 GB
Notification: Performance of sort global known variables: time 8e-08/0.4544, allocations: 0 / 1.326 GB, free: 14.66 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0003341/0.4548, allocations: 67.95 kB / 1.326 GB, free: 14.59 MB / 1.029 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (16):
 * Single equations (assignments): 12
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 4
 * 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.0002006/0.455, allocations: 117 kB / 1.326 GB, free: 14.47 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.0007534/0.4557, allocations: 489.4 kB / 1.327 GB, free: 13.94 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.4557, allocations: 0 / 1.327 GB, free: 13.94 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.4558, allocations: 59.91 kB / 1.327 GB, free: 13.88 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.4563, allocations: 74.23 kB / 1.327 GB, free: 13.81 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006804/0.4569, allocations: 346.7 kB / 1.327 GB, free: 13.44 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.4574, allocations: 0.7281 MB / 1.328 GB, free: 12.69 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 6.625e-05/0.4574, allocations: 21.64 kB / 1.328 GB, free: 12.66 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.4575, allocations: 19.44 kB / 1.328 GB, free: 12.64 MB / 1.029 GB
Notification: Performance of SimCode: time 3.1e-07/0.4575, allocations: 0 / 1.328 GB, free: 12.64 MB / 1.029 GB
Notification: Performance of Templates: time 0.009394/0.4669, allocations: 4.642 MB / 1.333 GB, free: 8.07 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.290530856698751]