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.001621/0.001621, allocations: 77.55 kB / 19.76 MB, free: 2.031 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.001909/0.001909, allocations: 159.6 kB / 23.01 MB, free: 4.949 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.621/1.621, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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.726/2.726, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 GB " [Timeout remaining time 177] 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.002114/0.002114, allocations: 64.19 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.357, allocations: 169.9 MB / 1.117 GB, free: 2.551 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002514/0.3595, allocations: 0.9176 MB / 1.118 GB, free: 1.633 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001944/0.3615, allocations: 1.455 MB / 1.12 GB, free: 168 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.257e-05/0.3615, allocations: 0 / 1.12 GB, free: 168 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.342e-05/0.3616, allocations: 19.75 kB / 1.12 GB, free: 148 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001528/0.3617, allocations: 59.58 kB / 1.12 GB, free: 88 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.3628, allocations: 435.7 kB / 1.12 GB, free: 15.67 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005306/0.3633, allocations: 499.1 kB / 1.121 GB, free: 15.18 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.3635, allocations: 41.88 kB / 1.121 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.3637, allocations: 183.6 kB / 1.121 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002542/0.3639, allocations: 147.4 kB / 1.121 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.899e-05/0.364, allocations: 48 kB / 1.121 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.3641, allocations: 63.98 kB / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.282e-05/0.3642, allocations: 35.84 kB / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.3644, allocations: 155.5 kB / 1.121 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005282/0.3649, allocations: 494.5 kB / 1.122 GB, free: 14.04 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3649, allocations: 0 / 1.122 GB, free: 14.04 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3649, allocations: 0 / 1.122 GB, free: 14.04 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.3649, allocations: 3.938 kB / 1.122 GB, free: 14.04 MB / 1.076 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.00085/0.3658, allocations: 0.5702 MB / 1.122 GB, free: 13.41 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.3658, allocations: 8.031 kB / 1.122 GB, free: 13.4 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.523e-05/0.3659, allocations: 28.84 kB / 1.122 GB, free: 13.37 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.3661, allocations: 165.7 kB / 1.123 GB, free: 13.18 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.522e-05/0.3661, allocations: 20.36 kB / 1.123 GB, free: 13.16 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.594e-05/0.3662, allocations: 24.38 kB / 1.123 GB, free: 13.14 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.3664, allocations: 121.6 kB / 1.123 GB, free: 13 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.3664, allocations: 192 / 1.123 GB, free: 13 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.3664, allocations: 11.92 kB / 1.123 GB, free: 12.99 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.3664, allocations: 4 kB / 1.123 GB, free: 12.99 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.3666, allocations: 51.91 kB / 1.123 GB, free: 12.94 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008941/0.3675, allocations: 0.731 MB / 1.124 GB, free: 12.16 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.3676, allocations: 114.4 kB / 1.124 GB, free: 12.02 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.796e-05/0.3677, allocations: 47.48 kB / 1.124 GB, free: 11.96 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.3677, allocations: 4 kB / 1.124 GB, free: 11.95 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002559/0.368, allocations: 174 kB / 1.124 GB, free: 11.76 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/0.368, allocations: 4 kB / 1.124 GB, free: 11.76 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.0004837/0.3685, allocations: 233.3 kB / 1.124 GB, free: 11.52 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.279e-05/0.3686, allocations: 140.4 kB / 1.124 GB, free: 11.36 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.3688, allocations: 245.7 kB / 1.124 GB, free: 11.11 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.945e-05/0.3689, allocations: 37.7 kB / 1.125 GB, free: 11.07 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.369, allocations: 132.5 kB / 1.125 GB, free: 10.93 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.369, allocations: 31.8 kB / 1.125 GB, free: 10.9 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.3692, allocations: 93.64 kB / 1.125 GB, free: 10.8 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3693, allocations: 330.8 kB / 1.125 GB, free: 10.47 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003897/0.3697, allocations: 275 kB / 1.125 GB, free: 10.18 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004351/0.3702, allocations: 349.5 kB / 1.126 GB, free: 9.773 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004695/0.3706, allocations: 376.9 kB / 1.126 GB, free: 9.344 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3706, allocations: 0 / 1.126 GB, free: 9.344 MB / 1.076 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001031/0.3717, allocations: 0.6863 MB / 1.127 GB, free: 8.602 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.3718, allocations: 134.8 kB / 1.127 GB, free: 8.445 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.3718, allocations: 4 kB / 1.127 GB, free: 8.441 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3718, allocations: 4 kB / 1.127 GB, free: 8.438 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.082e-05/0.3719, allocations: 15.94 kB / 1.127 GB, free: 8.422 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.3719, allocations: 7.984 kB / 1.127 GB, free: 8.414 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006549/0.3726, allocations: 112 kB / 1.127 GB, free: 8.305 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.976e-05/0.3726, allocations: 27.97 kB / 1.127 GB, free: 8.277 MB / 1.076 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.000165/0.3728, allocations: 157.6 kB / 1.127 GB, free: 8.113 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.3728, allocations: 27.84 kB / 1.127 GB, free: 8.086 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.621e-05/0.3729, allocations: 21.28 kB / 1.127 GB, free: 8.059 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3729, allocations: 8.938 kB / 1.127 GB, free: 8.051 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.3729, allocations: 4 kB / 1.127 GB, free: 8.047 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.3729, allocations: 3.984 kB / 1.127 GB, free: 8.043 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.3731, allocations: 177.2 kB / 1.127 GB, free: 7.84 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3731, allocations: 0 / 1.127 GB, free: 7.84 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.567e-05/0.3731, allocations: 15.98 kB / 1.127 GB, free: 7.824 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.3731, allocations: 4 kB / 1.127 GB, free: 7.82 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.3732, allocations: 4 kB / 1.127 GB, free: 7.816 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3732, allocations: 0 / 1.127 GB, free: 7.816 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.3732, allocations: 3.938 kB / 1.127 GB, free: 7.812 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.3735, allocations: 231.4 kB / 1.128 GB, free: 7.559 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.562e-05/0.3735, allocations: 23.84 kB / 1.128 GB, free: 7.535 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.3735, allocations: 4 kB / 1.128 GB, free: 7.531 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.494e-05/0.3736, allocations: 8 kB / 1.128 GB, free: 7.523 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.3736, allocations: 15.97 kB / 1.128 GB, free: 7.508 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.3736, allocations: 8 kB / 1.128 GB, free: 7.5 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001631/0.3738, allocations: 173.2 kB / 1.128 GB, free: 7.328 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3738, allocations: 3.938 kB / 1.128 GB, free: 7.324 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003348/0.3741, allocations: 64 kB / 1.128 GB, free: 7.262 MB / 1.076 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.0001588/0.3743, allocations: 115.2 kB / 1.128 GB, free: 7.137 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007675/0.3751, allocations: 0.5939 MB / 1.129 GB, free: 6.469 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3751, allocations: 0 / 1.129 GB, free: 6.469 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.3752, allocations: 63.84 kB / 1.129 GB, free: 6.406 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.3756, allocations: 63.86 kB / 1.129 GB, free: 6.348 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006084/0.3762, allocations: 350.6 kB / 1.129 GB, free: 5.973 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.3763, allocations: 116.9 kB / 1.129 GB, free: 5.84 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.537e-05/0.3764, allocations: 21.64 kB / 1.129 GB, free: 5.82 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.665e-05/0.3764, allocations: 20.48 kB / 1.129 GB, free: 5.801 MB / 1.076 GB Notification: Performance of SimCode: time 4.11e-07/0.3764, allocations: 0 / 1.129 GB, free: 5.801 MB / 1.076 GB Notification: Performance of Templates: time 0.009888/0.3863, allocations: 5.081 MB / 1.134 GB, free: 0.8438 MB / 1.076 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 ida -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/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: 8.971303759957664]