Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002043/0.002043, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002004/0.002004, allocations: 201.1 kB / 22.17 MB, free: 5.211 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.533/1.533, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.925/2.925, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 67.89 kB / 1.109 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093/1.095, allocations: 168.7 MB / 1.274 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002438/1.097, allocations: 0.9689 MB / 1.275 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002143/1.1, allocations: 1.456 MB / 1.276 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.063e-05/1.1, allocations: 0 / 1.276 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.822e-05/1.1, allocations: 11.81 kB / 1.276 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001777/1.1, allocations: 55.58 kB / 1.276 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001189/1.101, allocations: 437.8 kB / 1.277 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006013/1.102, allocations: 0.4913 MB / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/1.102, allocations: 37.61 kB / 1.277 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/1.102, allocations: 183.6 kB / 1.278 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/1.102, allocations: 163.4 kB / 1.278 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.103e-05/1.102, allocations: 48 kB / 1.278 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/1.102, allocations: 67.97 kB / 1.278 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.333e-05/1.103, allocations: 35.8 kB / 1.278 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001958/1.103, allocations: 163.5 kB / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005887/1.103, allocations: 0.501 MB / 1.279 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.103, allocations: 0 / 1.279 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.764e-06/1.103, allocations: 4 kB / 1.279 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.572e-06/1.103, allocations: 0 / 1.279 GB, free: 15.83 MB / 0.9825 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.0009446/1.104, allocations: 0.6339 MB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/1.104, allocations: 12.03 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/1.104, allocations: 32.8 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/1.105, allocations: 223.1 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.468e-05/1.105, allocations: 16.38 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.327e-05/1.105, allocations: 28.31 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/1.105, allocations: 117.6 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/1.105, allocations: 4.188 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/1.105, allocations: 7.938 kB / 1.28 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/1.105, allocations: 4 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/1.105, allocations: 55.91 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/1.106, allocations: 0.8718 MB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/1.107, allocations: 118.4 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.355e-05/1.107, allocations: 51.48 kB / 1.281 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/1.107, allocations: 3.938 kB / 1.281 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003136/1.107, allocations: 182.5 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.482e-06/1.107, allocations: 0 / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0005221/1.107, allocations: 225.4 kB / 1.281 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/1.108, allocations: 136.5 kB / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/1.108, allocations: 237 kB / 1.281 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.846e-05/1.108, allocations: 37.7 kB / 1.281 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/1.108, allocations: 132.5 kB / 1.282 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/1.108, allocations: 31.8 kB / 1.282 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/1.108, allocations: 93.66 kB / 1.282 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001967/1.108, allocations: 334.8 kB / 1.282 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003119/1.109, allocations: 144.2 kB / 1.282 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003771/1.109, allocations: 227.9 kB / 1.282 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005341/1.11, allocations: 364.9 kB / 1.283 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/1.11, allocations: 11.94 kB / 1.283 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001031/1.111, allocations: 0.5587 MB / 1.283 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/1.111, allocations: 138.8 kB / 1.283 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/1.111, allocations: 0 / 1.283 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/1.111, allocations: 4.938 kB / 1.283 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.394e-05/1.111, allocations: 19.92 kB / 1.283 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/1.111, allocations: 4 kB / 1.283 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006684/1.112, allocations: 119.7 kB / 1.284 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.608e-05/1.112, allocations: 27.97 kB / 1.284 GB, free: 10.19 MB / 0.9825 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.0001804/1.112, allocations: 149.7 kB / 1.284 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/1.112, allocations: 19.84 kB / 1.284 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.211e-05/1.112, allocations: 21.23 kB / 1.284 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/1.112, allocations: 4 kB / 1.284 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.112, allocations: 4 kB / 1.284 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/1.112, allocations: 11.92 kB / 1.284 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/1.112, allocations: 257.5 kB / 1.284 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.112, allocations: 4 kB / 1.284 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.309e-05/1.112, allocations: 11.98 kB / 1.284 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/1.112, allocations: 0 / 1.284 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/1.112, allocations: 8 kB / 1.284 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/1.112, allocations: 3.938 kB / 1.284 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.112, allocations: 4 kB / 1.284 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/1.113, allocations: 217.4 kB / 1.284 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-05/1.113, allocations: 105 kB / 1.284 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/1.113, allocations: 4 kB / 1.284 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.253e-05/1.113, allocations: 4 kB / 1.284 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/1.113, allocations: 19.86 kB / 1.284 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/1.113, allocations: 19.98 kB / 1.284 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000155/1.113, allocations: 160.5 kB / 1.285 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/1.113, allocations: 0 / 1.285 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003349/1.113, allocations: 75.88 kB / 1.285 GB, free: 9.004 MB / 0.9825 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.0001821/1.114, allocations: 108.5 kB / 1.285 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007204/1.114, allocations: 489.7 kB / 1.285 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.114, allocations: 4.062 kB / 1.285 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000112/1.114, allocations: 59.86 kB / 1.285 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/1.115, allocations: 69.81 kB / 1.285 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006683/1.115, allocations: 362.4 kB / 1.286 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/1.116, allocations: 0.7281 MB / 1.286 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.267e-05/1.116, allocations: 22.28 kB / 1.286 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/1.116, allocations: 19.44 kB / 1.286 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/1.116, allocations: 0 / 1.286 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of Templates: time 0.009583/1.126, allocations: 4.605 MB / 1.291 GB, free: 2.504 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.573831879068166]