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.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.001408/0.001408, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001581/0.001581, allocations: 217.6 kB / 22.25 MB, free: 5.121 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.6/1.6, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.199/3.199, allocations: 476.7 MB / 0.7707 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_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: 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.0022/0.0022, allocations: 68.86 kB / 1.118 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4457/0.4479, allocations: 170 MB / 1.284 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.0026/0.4505, allocations: 0.9798 MB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002201/0.4527, allocations: 1.469 MB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.182e-05/0.4528, allocations: 4 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.233e-05/0.4529, allocations: 15.75 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001772/0.453, allocations: 59.56 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.4542, allocations: 443.8 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006129/0.4548, allocations: 495.1 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.4549, allocations: 29.95 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.4552, allocations: 187.6 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003131/0.4555, allocations: 171.3 kB / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.715e-05/0.4556, allocations: 48 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.4557, allocations: 63.98 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.725e-05/0.4557, allocations: 35.91 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002022/0.4559, allocations: 167.3 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000561/0.4565, allocations: 0.4946 MB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.4565, allocations: 4 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.445e-06/0.4565, allocations: 4 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.209e-05/0.4565, allocations: 0 / 1.288 GB, free: 6.59 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.000917/0.4574, allocations: 0.5585 MB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.4575, allocations: 15.97 kB / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.708e-05/0.4576, allocations: 28.84 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.4578, allocations: 173.2 kB / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.4578, allocations: 12.38 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.463e-05/0.4579, allocations: 24.38 kB / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.4581, allocations: 121.6 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.4581, allocations: 192 / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.4581, allocations: 11.92 kB / 1.289 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.4581, allocations: 4 kB / 1.289 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.4582, allocations: 51.91 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.4594, allocations: 0.8513 MB / 1.29 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.4595, allocations: 114.4 kB / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.929e-05/0.4596, allocations: 51.48 kB / 1.29 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.4596, allocations: 0 / 1.29 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002661/0.4599, allocations: 170.7 kB / 1.29 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.4599, allocations: 0 / 1.29 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0004978/0.4604, allocations: 225.4 kB / 1.291 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.657e-05/0.4605, allocations: 140.4 kB / 1.291 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.4608, allocations: 244.9 kB / 1.291 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.623e-05/0.4608, allocations: 37.7 kB / 1.291 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.461, allocations: 136.4 kB / 1.291 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.461, allocations: 39.73 kB / 1.291 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.4612, allocations: 89.66 kB / 1.291 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.4614, allocations: 334.8 kB / 1.292 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003019/0.4617, allocations: 140.2 kB / 1.292 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003727/0.462, allocations: 235.3 kB / 1.292 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004948/0.4625, allocations: 368.9 kB / 1.292 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4625, allocations: 0 / 1.292 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001012/0.4636, allocations: 0.5588 MB / 1.293 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.4637, allocations: 142.8 kB / 1.293 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.4637, allocations: 0 / 1.293 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.4637, allocations: 4 kB / 1.293 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.665e-05/0.4638, allocations: 19.92 kB / 1.293 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.4638, allocations: 4 kB / 1.293 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006275/0.4644, allocations: 115.7 kB / 1.293 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/0.4645, allocations: 23.98 kB / 1.293 GB, free: 1.152 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.0001762/0.4647, allocations: 149.8 kB / 1.293 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.4647, allocations: 19.86 kB / 1.293 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.083e-05/0.4648, allocations: 25.33 kB / 1.293 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.4648, allocations: 0 / 1.293 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.4648, allocations: 8 kB / 1.293 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.4648, allocations: 3.938 kB / 1.293 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.465, allocations: 232.5 kB / 1.294 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.465, allocations: 0.9375 kB / 1.294 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.959e-05/0.4651, allocations: 8 kB / 1.294 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.4651, allocations: 3.984 kB / 1.294 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.4651, allocations: 12 kB / 1.294 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.4651, allocations: 4 kB / 1.294 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4651, allocations: 3.938 kB / 1.294 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.4654, allocations: 218.1 kB / 1.294 GB, free: 400 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.4655, allocations: 31.73 kB / 1.294 GB, free: 368 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/0.4655, allocations: 7.984 kB / 1.294 GB, free: 360 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.342e-05/0.4656, allocations: 7.984 kB / 1.294 GB, free: 352 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.4656, allocations: 15.92 kB / 1.294 GB, free: 336 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.4656, allocations: 11.98 kB / 1.294 GB, free: 324 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001587/0.4658, allocations: 168.5 kB / 1.294 GB, free: 156 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.4658, allocations: 0 / 1.294 GB, free: 156 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003319/0.4661, allocations: 75.92 kB / 1.294 GB, free: 80 kB / 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.0001896/0.4663, allocations: 103.5 kB / 1.294 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007663/0.4671, allocations: 489.7 kB / 1.295 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4671, allocations: 4.062 kB / 1.295 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.4672, allocations: 59.86 kB / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.4676, allocations: 64.31 kB / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009004/0.4685, allocations: 353 kB / 1.295 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004955/0.469, allocations: 0.7281 MB / 1.296 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.703e-05/0.4691, allocations: 17.64 kB / 1.296 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.051e-05/0.4692, allocations: 23.42 kB / 1.296 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of SimCode: time 3.3e-07/0.4692, allocations: 0 / 1.296 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of Templates: time 0.01071/0.4799, allocations: 4.649 MB / 1.301 GB, free: 9.562 MB / 0.9981 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.09248378360644]