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.001729/0.001729, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002194/0.002194, allocations: 216.4 kB / 23.01 MB, free: 4.602 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.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.829/2.829, allocations: 476.7 MB / 0.7714 GB, free: 4.285 MB / 0.6231 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.002084/0.002084, allocations: 64.34 kB / 1.119 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3357, allocations: 170 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002524/0.3383, allocations: 0.9759 MB / 1.286 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002149/0.3404, allocations: 1.461 MB / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.999e-05/0.3405, allocations: 4 kB / 1.287 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.121e-05/0.3405, allocations: 15.75 kB / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.3407, allocations: 63.56 kB / 1.287 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.3418, allocations: 448.7 kB / 1.288 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005732/0.3423, allocations: 495.1 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.3425, allocations: 37.88 kB / 1.288 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.3427, allocations: 187.6 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000285/0.343, allocations: 175.3 kB / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.375e-05/0.3431, allocations: 48 kB / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.3432, allocations: 67.98 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.545e-05/0.3433, allocations: 35.86 kB / 1.289 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001848/0.3434, allocations: 163.4 kB / 1.289 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005624/0.344, allocations: 0.4907 MB / 1.289 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.344, allocations: 0 / 1.289 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.344, allocations: 0 / 1.289 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.344, allocations: 0 / 1.289 GB, free: 6.621 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.0008969/0.3449, allocations: 0.5663 MB / 1.29 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.345, allocations: 12.03 kB / 1.29 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.066e-05/0.345, allocations: 28.78 kB / 1.29 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.3453, allocations: 173.3 kB / 1.29 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.3453, allocations: 12.38 kB / 1.29 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.067e-05/0.3453, allocations: 28.38 kB / 1.29 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.3456, allocations: 121.6 kB / 1.29 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3456, allocations: 192 / 1.29 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.3456, allocations: 7.938 kB / 1.29 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.3456, allocations: 4 kB / 1.29 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.3457, allocations: 51.92 kB / 1.29 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.3468, allocations: 0.8474 MB / 1.291 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.347, allocations: 114.4 kB / 1.291 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.15e-05/0.3471, allocations: 51.48 kB / 1.291 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.3471, allocations: 0 / 1.291 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002707/0.3473, allocations: 169.1 kB / 1.291 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.3474, allocations: 0 / 1.291 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0004855/0.3478, allocations: 233.3 kB / 1.291 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.3479, allocations: 136.5 kB / 1.292 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.3482, allocations: 248.8 kB / 1.292 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.337e-05/0.3483, allocations: 41.64 kB / 1.292 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.3484, allocations: 136.4 kB / 1.292 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/0.3485, allocations: 27.81 kB / 1.292 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/0.3486, allocations: 89.66 kB / 1.292 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.3488, allocations: 338.8 kB / 1.292 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/0.3491, allocations: 144.2 kB / 1.293 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003595/0.3495, allocations: 222.7 kB / 1.293 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004783/0.3499, allocations: 364.9 kB / 1.293 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3499, allocations: 7.938 kB / 1.293 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009416/0.3509, allocations: 0.5671 MB / 1.294 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.351, allocations: 138.8 kB / 1.294 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.351, allocations: 0 / 1.294 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.351, allocations: 4 kB / 1.294 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.686e-05/0.3511, allocations: 15.98 kB / 1.294 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.3511, allocations: 7.938 kB / 1.294 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006071/0.3517, allocations: 116 kB / 1.294 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.535e-05/0.3518, allocations: 23.98 kB / 1.294 GB, free: 1.184 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.0002032/0.352, allocations: 157.7 kB / 1.294 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/0.352, allocations: 20 kB / 1.294 GB, free: 1 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.192e-05/0.3521, allocations: 25.31 kB / 1.294 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3521, allocations: 4 kB / 1.294 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.3521, allocations: 4 kB / 1.294 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-06/0.3521, allocations: 3.938 kB / 1.294 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.3524, allocations: 228.6 kB / 1.294 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3524, allocations: 0 / 1.294 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.929e-05/0.3524, allocations: 11.98 kB / 1.294 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3524, allocations: 0 / 1.294 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.3524, allocations: 12 kB / 1.294 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3524, allocations: 0 / 1.294 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3524, allocations: 4 kB / 1.294 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.3527, allocations: 227.3 kB / 1.295 GB, free: 420 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.3528, allocations: 23.86 kB / 1.295 GB, free: 396 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.3528, allocations: 11.98 kB / 1.295 GB, free: 384 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.757e-05/0.3529, allocations: 0 / 1.295 GB, free: 384 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.973e-05/0.3529, allocations: 15.92 kB / 1.295 GB, free: 368 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.3529, allocations: 15.98 kB / 1.295 GB, free: 352 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001602/0.3531, allocations: 160.5 kB / 1.295 GB, free: 192 kB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3531, allocations: 0 / 1.295 GB, free: 192 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003291/0.3534, allocations: 67.98 kB / 1.295 GB, free: 124 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.0001782/0.3536, allocations: 117.9 kB / 1.295 GB, free: 0 / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007535/0.3544, allocations: 489.4 kB / 1.296 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3544, allocations: 0 / 1.296 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.3545, allocations: 79.84 kB / 1.296 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.355, allocations: 60.83 kB / 1.296 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007035/0.3557, allocations: 380.3 kB / 1.296 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.356, allocations: 0.732 MB / 1.297 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.425e-05/0.3561, allocations: 19.44 kB / 1.297 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.3561, allocations: 0 / 1.297 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of Templates: time 0.006434/0.3625, allocations: 3.505 MB / 1.3 GB, free: 10.68 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/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: 11.408578066999326]