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.001631/0.001631, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002318/0.002318, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.63/1.63, 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 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 2.925/2.925, allocations: 475.9 MB / 0.7699 GB, free: 4.75 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.002205/0.002205, allocations: 69.28 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3842, allocations: 170 MB / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002472/0.3867, allocations: 0.9298 MB / 1.284 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002189/0.3889, allocations: 1.449 MB / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.018e-05/0.389, allocations: 0 / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.216e-05/0.389, allocations: 19.73 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001528/0.3892, allocations: 59.52 kB / 1.285 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.3902, allocations: 449.8 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005491/0.3908, allocations: 491.1 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.3909, allocations: 29.94 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.3911, allocations: 187.5 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002557/0.3914, allocations: 147.4 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.475e-05/0.3915, allocations: 52 kB / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.3916, allocations: 55.98 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.795e-05/0.3916, allocations: 39.84 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001874/0.3918, allocations: 155.5 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005596/0.3924, allocations: 0.4907 MB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3924, allocations: 0 / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of FrontEnd: time 8.52e-07/0.3924, allocations: 0 / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.3924, allocations: 0 / 1.287 GB, free: 7.441 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.0008995/0.3933, allocations: 0.5663 MB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.3933, allocations: 8.031 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.3935, allocations: 28.84 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.3937, allocations: 169.2 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.697e-05/0.3937, allocations: 20.36 kB / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.812e-05/0.3938, allocations: 16.38 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.394, allocations: 121.6 kB / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.394, allocations: 8.188 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.394, allocations: 3.938 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.394, allocations: 0 / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.3941, allocations: 59.91 kB / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000998/0.3951, allocations: 0.731 MB / 1.289 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.3953, allocations: 110.4 kB / 1.289 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.316e-05/0.3954, allocations: 51.47 kB / 1.289 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.3954, allocations: 8 kB / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003135/0.3957, allocations: 166.7 kB / 1.289 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.3957, allocations: 0 / 1.289 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0005159/0.3963, allocations: 237.3 kB / 1.29 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.3964, allocations: 136.5 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.3967, allocations: 244.8 kB / 1.29 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.902e-05/0.3967, allocations: 37.7 kB / 1.29 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.3969, allocations: 128.5 kB / 1.29 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/0.3969, allocations: 35.75 kB / 1.29 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.3971, allocations: 97.59 kB / 1.29 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.3973, allocations: 338.8 kB / 1.291 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004183/0.3977, allocations: 275 kB / 1.291 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004789/0.3982, allocations: 345.5 kB / 1.291 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005014/0.3987, allocations: 376.9 kB / 1.292 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3987, allocations: 0 / 1.292 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001125/0.3998, allocations: 0.6863 MB / 1.292 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001153/0.3999, allocations: 136.7 kB / 1.292 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3999, allocations: 0 / 1.292 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.3999, allocations: 4 kB / 1.292 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.869e-05/0.4, allocations: 15.94 kB / 1.292 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.4, allocations: 16.12 kB / 1.292 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006497/0.4007, allocations: 111.8 kB / 1.293 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.294e-05/0.4008, allocations: 27.98 kB / 1.293 GB, free: 1.68 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.0001893/0.4009, allocations: 157.7 kB / 1.293 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.021e-05/0.401, allocations: 27.84 kB / 1.293 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.128e-05/0.401, allocations: 17.34 kB / 1.293 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.401, allocations: 0 / 1.293 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.401, allocations: 4 kB / 1.293 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4011, allocations: 3.984 kB / 1.293 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.4013, allocations: 181.2 kB / 1.293 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4013, allocations: 0 / 1.293 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.105e-05/0.4013, allocations: 11.98 kB / 1.293 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.4013, allocations: 0 / 1.293 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.4013, allocations: 12 kB / 1.293 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.4013, allocations: 4 kB / 1.293 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4013, allocations: 0 / 1.293 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.4017, allocations: 226.4 kB / 1.293 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.4017, allocations: 23.86 kB / 1.293 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.4018, allocations: 7.984 kB / 1.293 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.282e-05/0.4018, allocations: 4 kB / 1.293 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.4019, allocations: 15.97 kB / 1.293 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.4019, allocations: 8 kB / 1.293 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001771/0.4021, allocations: 172.4 kB / 1.293 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.4021, allocations: 0 / 1.293 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003352/0.4024, allocations: 72 kB / 1.293 GB, free: 0.6758 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.0001909/0.4026, allocations: 111.8 kB / 1.294 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008669/0.4035, allocations: 0.6017 MB / 1.294 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4035, allocations: 0 / 1.294 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.4036, allocations: 56.41 kB / 1.294 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.404, allocations: 68.31 kB / 1.294 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006732/0.4047, allocations: 354.6 kB / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.4048, allocations: 120.9 kB / 1.295 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.059e-05/0.4049, allocations: 17.64 kB / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.4049, allocations: 23.38 kB / 1.295 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/0.4049, allocations: 4 kB / 1.295 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.01026/0.4152, allocations: 5.236 MB / 1.3 GB, free: 10.09 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: 9.696162272244692]