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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001936/0.001936, allocations: 99.66 kB / 18.94 MB, free: 2.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002513/0.002513, allocations: 223.6 kB / 22.25 MB, free: 5.109 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.613/1.613, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.633/3.633, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 69.38 kB / 1.186 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4336/0.4357, allocations: 181.9 MB / 1.364 GB, free: 13.71 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002576/0.4383, allocations: 0.9254 MB / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002173/0.4405, allocations: 1.456 MB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.598e-05/0.4406, allocations: 0 / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.905e-05/0.4406, allocations: 15.8 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.4408, allocations: 59.52 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.4418, allocations: 445.7 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005575/0.4424, allocations: 491.1 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.4425, allocations: 29.95 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.4428, allocations: 187.5 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.443, allocations: 139.5 kB / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.384e-05/0.4431, allocations: 48 kB / 1.368 GB, free: 9.934 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.4432, allocations: 71.98 kB / 1.368 GB, free: 9.863 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.48e-05/0.4433, allocations: 43.78 kB / 1.368 GB, free: 9.82 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001823/0.4435, allocations: 143.6 kB / 1.368 GB, free: 9.68 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005891/0.4441, allocations: 0.5023 MB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4441, allocations: 0 / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.725e-06/0.4441, allocations: 0 / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.036e-06/0.4441, allocations: 0 / 1.368 GB, free: 9.176 MB / 1.061 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.0009744/0.4451, allocations: 0.5638 MB / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.4451, allocations: 8.031 kB / 1.369 GB, free: 8.547 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.4452, allocations: 32.8 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.4454, allocations: 161.3 kB / 1.369 GB, free: 8.332 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.602e-05/0.4455, allocations: 12.38 kB / 1.369 GB, free: 8.32 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.872e-05/0.4455, allocations: 28.36 kB / 1.369 GB, free: 8.293 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.4458, allocations: 121.6 kB / 1.369 GB, free: 8.156 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.4458, allocations: 192 / 1.369 GB, free: 8.156 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.4458, allocations: 15.81 kB / 1.369 GB, free: 8.141 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4458, allocations: 0 / 1.369 GB, free: 8.141 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.4459, allocations: 59.91 kB / 1.369 GB, free: 8.082 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000958/0.4469, allocations: 0.7232 MB / 1.37 GB, free: 7.316 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.4471, allocations: 114.5 kB / 1.37 GB, free: 7.168 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.166e-05/0.4471, allocations: 55.36 kB / 1.37 GB, free: 7.102 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.4472, allocations: 4 kB / 1.37 GB, free: 7.098 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003252/0.4475, allocations: 174.6 kB / 1.37 GB, free: 6.902 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.4475, allocations: 0 / 1.37 GB, free: 6.902 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0004868/0.448, allocations: 226.1 kB / 1.37 GB, free: 6.676 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.4481, allocations: 144.5 kB / 1.371 GB, free: 6.504 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.4483, allocations: 240.8 kB / 1.371 GB, free: 6.258 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.398e-05/0.4484, allocations: 37.7 kB / 1.371 GB, free: 6.215 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.4485, allocations: 132.5 kB / 1.371 GB, free: 6.082 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.4486, allocations: 31.8 kB / 1.371 GB, free: 6.051 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.4487, allocations: 89.66 kB / 1.371 GB, free: 5.957 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.4489, allocations: 334.8 kB / 1.371 GB, free: 5.621 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004044/0.4493, allocations: 279 kB / 1.372 GB, free: 5.32 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004352/0.4497, allocations: 349.5 kB / 1.372 GB, free: 4.918 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004825/0.4502, allocations: 372.9 kB / 1.372 GB, free: 4.492 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4502, allocations: 0 / 1.372 GB, free: 4.492 MB / 1.061 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001003/0.4512, allocations: 0.6902 MB / 1.373 GB, free: 3.746 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.4513, allocations: 135 kB / 1.373 GB, free: 3.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.4513, allocations: 7.938 kB / 1.373 GB, free: 3.582 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.4513, allocations: 4 kB / 1.373 GB, free: 3.578 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-05/0.4514, allocations: 15.94 kB / 1.373 GB, free: 3.562 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.4514, allocations: 4 kB / 1.373 GB, free: 3.559 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006128/0.4521, allocations: 116 kB / 1.373 GB, free: 3.445 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-05/0.4521, allocations: 27.97 kB / 1.373 GB, free: 3.418 MB / 1.061 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.0001803/0.4523, allocations: 158.7 kB / 1.374 GB, free: 3.254 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.4523, allocations: 15.91 kB / 1.374 GB, free: 3.238 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.458e-05/0.4524, allocations: 29.33 kB / 1.374 GB, free: 3.203 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.4524, allocations: 0 / 1.374 GB, free: 3.203 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/0.4524, allocations: 4 kB / 1.374 GB, free: 3.199 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4524, allocations: 0 / 1.374 GB, free: 3.199 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.4526, allocations: 193.1 kB / 1.374 GB, free: 2.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4526, allocations: 0 / 1.374 GB, free: 2.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.294e-05/0.4527, allocations: 15.92 kB / 1.374 GB, free: 2.965 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4527, allocations: 0 / 1.374 GB, free: 2.965 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.4527, allocations: 4 kB / 1.374 GB, free: 2.961 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.4527, allocations: 4 kB / 1.374 GB, free: 2.957 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4527, allocations: 0 / 1.374 GB, free: 2.957 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/0.453, allocations: 229.9 kB / 1.374 GB, free: 2.707 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.453, allocations: 15.91 kB / 1.374 GB, free: 2.691 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.4531, allocations: 11.98 kB / 1.374 GB, free: 2.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.792e-05/0.4531, allocations: 0 / 1.374 GB, free: 2.68 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.4532, allocations: 23.92 kB / 1.374 GB, free: 2.656 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.4532, allocations: 7.984 kB / 1.374 GB, free: 2.648 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001804/0.4534, allocations: 172.4 kB / 1.374 GB, free: 2.477 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4534, allocations: 0 / 1.374 GB, free: 2.477 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003145/0.4537, allocations: 71.94 kB / 1.374 GB, free: 2.406 MB / 1.061 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.0001651/0.4538, allocations: 103.2 kB / 1.374 GB, free: 2.297 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008214/0.4547, allocations: 0.6098 MB / 1.375 GB, free: 1.613 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4547, allocations: 0 / 1.375 GB, free: 1.613 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.4548, allocations: 59.91 kB / 1.375 GB, free: 1.555 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.4552, allocations: 60.5 kB / 1.375 GB, free: 1.496 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006477/0.4559, allocations: 363.4 kB / 1.375 GB, free: 1.109 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.456, allocations: 120.9 kB / 1.376 GB, free: 0.9727 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.548e-05/0.456, allocations: 25.62 kB / 1.376 GB, free: 0.9453 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.911e-05/0.4561, allocations: 15.44 kB / 1.376 GB, free: 0.9297 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/0.4561, allocations: 4 kB / 1.376 GB, free: 0.9258 MB / 1.061 GB Notification: Performance of Templates: time 0.009788/0.4659, allocations: 5.224 MB / 1.381 GB, free: 11.82 MB / 1.076 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: 10.20368173532188]