Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001544/0.001544, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001788/0.001788, allocations: 189.8 kB / 22.1 MB, free: 5.152 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.571/1.571, allocations: 225.6 MB / 250.8 MB, free: 13.07 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.445/3.445, allocations: 495.8 MB / 0.783 GB, free: 33.66 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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 72.17 kB / 1.137 GB, free: 33.93 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4371/0.4392, allocations: 173.6 MB / 1.307 GB, free: 1.949 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002473/0.4416, allocations: 0.9676 MB / 1.308 GB, free: 0.9805 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.002176/0.4438, allocations: 1.451 MB / 1.309 GB, free: 15.52 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 8.894e-05/0.4439, allocations: 0 / 1.309 GB, free: 15.52 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 5.834e-05/0.444, allocations: 15.8 kB / 1.309 GB, free: 15.5 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.4441, allocations: 59.58 kB / 1.309 GB, free: 15.44 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.4454, allocations: 444.4 kB / 1.31 GB, free: 15.02 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0006024/0.446, allocations: 499.1 kB / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.4462, allocations: 33.91 kB / 1.31 GB, free: 14.5 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002506/0.4464, allocations: 183.6 kB / 1.31 GB, free: 14.32 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/0.4467, allocations: 171.4 kB / 1.31 GB, free: 14.15 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 8.688e-05/0.4468, allocations: 48 kB / 1.311 GB, free: 14.1 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.4469, allocations: 67.97 kB / 1.311 GB, free: 14.04 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 5.331e-05/0.447, allocations: 39.8 kB / 1.311 GB, free: 14 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002064/0.4472, allocations: 163.5 kB / 1.311 GB, free: 13.84 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0005819/0.4478, allocations: 0.5023 MB / 1.311 GB, free: 13.33 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4478, allocations: 0 / 1.311 GB, free: 13.33 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.054e-06/0.4478, allocations: 0 / 1.311 GB, free: 13.33 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.973e-06/0.4478, allocations: 0 / 1.311 GB, free: 13.33 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.00096/0.4487, allocations: 0.5586 MB / 1.312 GB, free: 12.71 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.4488, allocations: 8.922 kB / 1.312 GB, free: 12.71 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.4489, allocations: 36.78 kB / 1.312 GB, free: 12.67 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.4491, allocations: 161.3 kB / 1.312 GB, free: 12.49 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.4491, allocations: 16.38 kB / 1.312 GB, free: 12.48 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.121e-05/0.4492, allocations: 28.38 kB / 1.312 GB, free: 12.45 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.4494, allocations: 115.1 kB / 1.312 GB, free: 12.32 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.4494, allocations: 4.188 kB / 1.312 GB, free: 12.32 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.4494, allocations: 11.92 kB / 1.312 GB, free: 12.3 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4495, allocations: 0 / 1.312 GB, free: 12.3 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.4496, allocations: 51.92 kB / 1.312 GB, free: 12.25 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.4506, allocations: 0.8435 MB / 1.313 GB, free: 11.36 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.4508, allocations: 118.4 kB / 1.313 GB, free: 11.2 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.111e-05/0.4509, allocations: 51.48 kB / 1.313 GB, free: 11.14 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.4509, allocations: 7.875 kB / 1.313 GB, free: 11.13 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002641/0.4512, allocations: 178.6 kB / 1.313 GB, free: 10.93 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=16): time 1.402e-06/0.4512, allocations: 0 / 1.313 GB, free: 10.93 MB / 1.014 GB
Notification: Performance of matching and sorting (n=16): time 0.0004838/0.4517, allocations: 225.4 kB / 1.314 GB, free: 10.71 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.4518, allocations: 140.4 kB / 1.314 GB, free: 10.54 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.452, allocations: 244.8 kB / 1.314 GB, free: 10.29 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 5.768e-05/0.4521, allocations: 41.7 kB / 1.314 GB, free: 10.25 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.4522, allocations: 128.5 kB / 1.314 GB, free: 10.11 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.4523, allocations: 31.78 kB / 1.314 GB, free: 10.08 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.4524, allocations: 93.66 kB / 1.314 GB, free: 9.984 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001757/0.4526, allocations: 334.8 kB / 1.315 GB, free: 9.648 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.4529, allocations: 148.2 kB / 1.315 GB, free: 9.5 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003575/0.4533, allocations: 226.7 kB / 1.315 GB, free: 9.246 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/0.4537, allocations: 364.9 kB / 1.315 GB, free: 8.828 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4537, allocations: 0 / 1.315 GB, free: 8.828 MB / 1.014 GB
Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009527/0.4547, allocations: 0.5633 MB / 1.316 GB, free: 8.234 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.4548, allocations: 136.7 kB / 1.316 GB, free: 8.078 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.4548, allocations: 4 kB / 1.316 GB, free: 8.074 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.4548, allocations: 4 kB / 1.316 GB, free: 8.07 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.863e-05/0.4549, allocations: 15.92 kB / 1.316 GB, free: 8.055 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.4549, allocations: 4 kB / 1.316 GB, free: 8.051 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006607/0.4556, allocations: 119.9 kB / 1.316 GB, free: 7.934 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-05/0.4557, allocations: 27.98 kB / 1.316 GB, free: 7.906 MB / 1.014 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.0001805/0.4558, allocations: 154.5 kB / 1.316 GB, free: 7.746 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.4559, allocations: 23.91 kB / 1.316 GB, free: 7.723 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.586e-05/0.4559, allocations: 21.33 kB / 1.316 GB, free: 7.695 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.4559, allocations: 12.03 kB / 1.316 GB, free: 7.684 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.456, allocations: 0 / 1.316 GB, free: 7.684 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.456, allocations: 7.938 kB / 1.316 GB, free: 7.676 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.4562, allocations: 228.6 kB / 1.317 GB, free: 7.41 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4562, allocations: 7.938 kB / 1.317 GB, free: 7.402 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.199e-05/0.4563, allocations: 15.98 kB / 1.317 GB, free: 7.387 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.4563, allocations: 0 / 1.317 GB, free: 7.387 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.4563, allocations: 4 kB / 1.317 GB, free: 7.383 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.4563, allocations: 3.938 kB / 1.317 GB, free: 7.379 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.4563, allocations: 8 kB / 1.317 GB, free: 7.371 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.4566, allocations: 220 kB / 1.317 GB, free: 7.129 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.155e-05/0.4566, allocations: 15.86 kB / 1.317 GB, free: 7.113 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.4567, allocations: 11.98 kB / 1.317 GB, free: 7.102 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.797e-05/0.4567, allocations: 0 / 1.317 GB, free: 7.102 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.4568, allocations: 27.86 kB / 1.317 GB, free: 7.074 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.4568, allocations: 7.984 kB / 1.317 GB, free: 7.066 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001703/0.457, allocations: 172.4 kB / 1.317 GB, free: 6.898 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.457, allocations: 0 / 1.317 GB, free: 6.898 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003285/0.4573, allocations: 71.94 kB / 1.317 GB, free: 6.828 MB / 1.014 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.0001754/0.4575, allocations: 108 kB / 1.317 GB, free: 6.715 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0007278/0.4582, allocations: 489.4 kB / 1.318 GB, free: 6.188 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4582, allocations: 3.938 kB / 1.318 GB, free: 6.184 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.4583, allocations: 55.91 kB / 1.318 GB, free: 6.129 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.4587, allocations: 64.88 kB / 1.318 GB, free: 6.066 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006398/0.4594, allocations: 348.9 kB / 1.318 GB, free: 5.695 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.4597, allocations: 0.732 MB / 1.319 GB, free: 4.938 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 6.64e-05/0.4598, allocations: 18.39 kB / 1.319 GB, free: 4.914 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.172e-05/0.4599, allocations: 19.44 kB / 1.319 GB, free: 4.895 MB / 1.014 GB
Notification: Performance of SimCode: time 8.81e-07/0.4599, allocations: 0 / 1.319 GB, free: 4.895 MB / 1.014 GB
Notification: Performance of Templates: time 0.009436/0.4693, allocations: 4.646 MB / 1.323 GB, free: 316 kB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.196171639487147]