Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.001869/0.001869, allocations: 104.5 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.002702/0.002702, allocations: 189 kB / 22.1 MB, free: 5.148 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.593/1.593, 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.322/3.322, allocations: 495.8 MB / 0.783 GB, free: 33.5 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.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse")
translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 74.44 kB / 1.137 GB, free: 33.82 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4166/0.4186, allocations: 173.6 MB / 1.307 GB, free: 1.855 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002143/0.4207, allocations: 0.7371 MB / 1.307 GB, free: 1.121 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.00164/0.4224, allocations: 1.139 MB / 1.309 GB, free: 15.97 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.724e-05/0.4224, allocations: 0 / 1.309 GB, free: 15.97 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 3.128e-05/0.4225, allocations: 3.938 kB / 1.309 GB, free: 15.96 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 9.661e-05/0.4226, allocations: 19.91 kB / 1.309 GB, free: 15.95 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000571/0.4231, allocations: 131.1 kB / 1.309 GB, free: 15.82 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0002251/0.4234, allocations: 119.8 kB / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.4235, allocations: 19.97 kB / 1.309 GB, free: 15.68 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.317e-05/0.4236, allocations: 47.86 kB / 1.309 GB, free: 15.64 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.4237, allocations: 35.89 kB / 1.309 GB, free: 15.6 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.87e-05/0.4237, allocations: 12 kB / 1.309 GB, free: 15.59 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.874e-05/0.4238, allocations: 27.98 kB / 1.309 GB, free: 15.56 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.761e-05/0.4238, allocations: 15.92 kB / 1.309 GB, free: 15.55 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 7.76e-05/0.4239, allocations: 35.91 kB / 1.309 GB, free: 15.51 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.000203/0.4241, allocations: 131.6 kB / 1.309 GB, free: 15.38 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4241, allocations: 0 / 1.309 GB, free: 15.38 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.713e-06/0.4241, allocations: 4 kB / 1.309 GB, free: 15.38 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.68e-06/0.4241, allocations: 4 kB / 1.309 GB, free: 15.38 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: 4
 * Number of variables: 4
Notification: Performance of Generate backend data structure: time 0.0006101/0.4247, allocations: 331.7 kB / 1.31 GB, free: 15.01 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.4247, allocations: 8.031 kB / 1.31 GB, free: 15 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.435e-05/0.4248, allocations: 4.938 kB / 1.31 GB, free: 15 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.4249, allocations: 118.4 kB / 1.31 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.425, allocations: 4.375 kB / 1.31 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.425, allocations: 12.36 kB / 1.31 GB, free: 14.84 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.4251, allocations: 42.25 kB / 1.31 GB, free: 14.8 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.4251, allocations: 192 / 1.31 GB, free: 14.8 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.4251, allocations: 11.88 kB / 1.31 GB, free: 14.79 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.4251, allocations: 0 / 1.31 GB, free: 14.79 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.339e-05/0.4252, allocations: 12 kB / 1.31 GB, free: 14.77 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000484/0.4256, allocations: 307.8 kB / 1.31 GB, free: 14.43 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.7e-05/0.4257, allocations: 34.5 kB / 1.31 GB, free: 14.39 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.18e-05/0.4258, allocations: 16.91 kB / 1.31 GB, free: 14.37 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.4258, allocations: 0 / 1.31 GB, free: 14.37 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.4259, allocations: 67.33 kB / 1.31 GB, free: 14.29 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.4259, allocations: 0 / 1.31 GB, free: 14.29 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4): time 0.0002108/0.4262, allocations: 77.62 kB / 1.31 GB, free: 14.21 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.4262, allocations: 55.41 kB / 1.31 GB, free: 14.14 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.4263, allocations: 125.8 kB / 1.31 GB, free: 14.01 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.4264, allocations: 33.7 kB / 1.31 GB, free: 13.97 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 9.564e-05/0.4265, allocations: 84.14 kB / 1.31 GB, free: 13.88 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.273e-05/0.4265, allocations: 11.95 kB / 1.31 GB, free: 13.87 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.96e-05/0.4265, allocations: 29.7 kB / 1.311 GB, free: 13.84 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001483/0.4267, allocations: 318.8 kB / 1.311 GB, free: 13.52 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.081e-05/0.4268, allocations: 35.98 kB / 1.311 GB, free: 13.48 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.4269, allocations: 62.48 kB / 1.311 GB, free: 13.41 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.427, allocations: 96.28 kB / 1.311 GB, free: 13.3 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.427, allocations: 0 / 1.311 GB, free: 13.3 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003032/0.4273, allocations: 171.2 kB / 1.311 GB, free: 13.12 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 3.955e-05/0.4274, allocations: 33.7 kB / 1.311 GB, free: 13.08 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.4274, allocations: 0 / 1.311 GB, free: 13.08 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.4274, allocations: 0 / 1.311 GB, free: 13.08 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.175e-05/0.4274, allocations: 4 kB / 1.311 GB, free: 13.08 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.4274, allocations: 3.938 kB / 1.311 GB, free: 13.07 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.4277, allocations: 32.03 kB / 1.311 GB, free: 13.04 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.4277, allocations: 7.984 kB / 1.311 GB, free: 13.04 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 3
 * Number of states: 0 ()
 * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (5):
 * Single equations (assignments): 4
 * 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.000122/0.4278, allocations: 126.5 kB / 1.311 GB, free: 12.9 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.4278, allocations: 7.953 kB / 1.311 GB, free: 12.89 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.781e-05/0.4278, allocations: 4 kB / 1.311 GB, free: 12.88 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.4278, allocations: 0 / 1.311 GB, free: 12.88 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4278, allocations: 3.984 kB / 1.311 GB, free: 12.88 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4278, allocations: 0 / 1.311 GB, free: 12.88 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.428, allocations: 152.7 kB / 1.312 GB, free: 12.69 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.428, allocations: 0 / 1.312 GB, free: 12.69 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.447e-05/0.428, allocations: 0 / 1.312 GB, free: 12.69 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.428, allocations: 7.938 kB / 1.312 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.428, allocations: 0 / 1.312 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.428, allocations: 3.984 kB / 1.312 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.428, allocations: 0 / 1.312 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.4282, allocations: 100.9 kB / 1.312 GB, free: 12.56 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.27e-05/0.4282, allocations: 3.938 kB / 1.312 GB, free: 12.55 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.4282, allocations: 8 kB / 1.312 GB, free: 12.55 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.166e-05/0.4282, allocations: 4 kB / 1.312 GB, free: 12.54 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.4282, allocations: 3.984 kB / 1.312 GB, free: 12.54 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.4283, allocations: 0 / 1.312 GB, free: 12.54 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 8.508e-05/0.4283, allocations: 99.27 kB / 1.312 GB, free: 12.44 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9.1e-08/0.4283, allocations: 0 / 1.312 GB, free: 12.44 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002252/0.4286, allocations: 23.95 kB / 1.312 GB, free: 12.42 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: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (4):
 * Single equations (assignments): 3
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * 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.000167/0.4287, allocations: 103.2 kB / 1.312 GB, free: 12.31 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002644/0.429, allocations: 127.3 kB / 1.312 GB, free: 12.17 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.429, allocations: 0 / 1.312 GB, free: 12.17 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 3.903e-05/0.429, allocations: 16.36 kB / 1.312 GB, free: 12.16 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.4293, allocations: 15.92 kB / 1.312 GB, free: 12.14 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/0.4296, allocations: 145.9 kB / 1.312 GB, free: 11.97 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.43, allocations: 0.6848 MB / 1.313 GB, free: 11.26 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.18e-05/0.43, allocations: 11.97 kB / 1.313 GB, free: 11.25 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/0.43, allocations: 15.44 kB / 1.313 GB, free: 11.23 MB / 1.014 GB
Notification: Performance of SimCode: time 3.1e-07/0.43, allocations: 0 / 1.313 GB, free: 11.23 MB / 1.014 GB
Notification: Performance of Templates: time 0.004587/0.4346, allocations: 1.358 MB / 1.314 GB, free: 9.895 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.752796309068799]