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.00121/0.00121, allocations: 76.55 kB / 19.93 MB, free: 4.617 MB / 18.57 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.0008474/0.0008474, allocations: 177.9 kB / 23.21 MB, free: 1.336 MB / 18.57 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 0.8468/0.8468, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.621/1.621, allocations: 359 MB / 0.6044 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.9517 GB, free: 2.961 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.849e-05/1.997e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.957 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001317/0.001337, allocations: 0.9215 MB / 0.9526 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.002619, allocations: 1.474 MB / 0.9541 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.691e-05/0.002676, allocations: 0 / 0.9541 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.734e-05/0.002713, allocations: 15.81 kB / 0.9541 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.002824, allocations: 63.5 kB / 0.9541 GB, free: 472 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006401/0.003464, allocations: 438.7 kB / 0.9546 GB, free: 44 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0003414/0.003805, allocations: 499 kB / 0.955 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.003913, allocations: 33.89 kB / 0.9551 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000193/0.004106, allocations: 271.5 kB / 0.9553 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002398/0.004346, allocations: 123.7 kB / 0.9555 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.884e-05/0.004395, allocations: 48 kB / 0.9555 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 7.996e-05/0.004475, allocations: 67.97 kB / 0.9556 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 3.086e-05/0.004506, allocations: 35.8 kB / 0.9556 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.004608, allocations: 139.8 kB / 0.9557 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003785/0.004987, allocations: 0.5649 MB / 0.9563 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.004989, allocations: 0 / 0.9563 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.022e-06/0.00499, allocations: 4 kB / 0.9563 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.004994, allocations: 0 / 0.9563 GB, free: 14.28 MB / 0.9167 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.0005515/0.005546, allocations: 0.5603 MB / 0.9568 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.005577, allocations: 8.031 kB / 0.9568 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.394e-05/0.005641, allocations: 32.8 kB / 0.9569 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.005763, allocations: 160.9 kB / 0.957 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.005786, allocations: 24.3 kB / 0.957 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.732e-05/0.005823, allocations: 28.36 kB / 0.9571 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.005968, allocations: 124.4 kB / 0.9572 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.005977, allocations: 192 / 0.9572 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.005989, allocations: 384 / 0.9572 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.005995, allocations: 8.375 kB / 0.9572 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.203e-05/0.006077, allocations: 59.84 kB / 0.9573 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006406/0.006717, allocations: 0.7116 MB / 0.958 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.006847, allocations: 118.4 kB / 0.9581 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.412e-05/0.006901, allocations: 51.42 kB / 0.9581 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.006914, allocations: 4 kB / 0.9581 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.007124, allocations: 182.5 kB / 0.9583 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.007125, allocations: 0 / 0.9583 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of matching and sorting (n=16): time 0.0004034/0.007529, allocations: 229.4 kB / 0.9585 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/0.007599, allocations: 132.5 kB / 0.9586 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.007793, allocations: 245.7 kB / 0.9589 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.843e-05/0.007832, allocations: 37.7 kB / 0.9589 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.888e-05/0.007921, allocations: 124.6 kB / 0.959 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.007948, allocations: 39.72 kB / 0.9591 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.008056, allocations: 93.59 kB / 0.9592 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.126e-05/0.008147, allocations: 330.8 kB / 0.9595 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.008405, allocations: 279 kB / 0.9597 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.008685, allocations: 353.4 kB / 0.9601 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/0.008997, allocations: 364.9 kB / 0.9604 GB, free: 9.609 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.009001, allocations: 0 / 0.9604 GB, free: 9.609 MB / 0.9167 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006526/0.009654, allocations: 0.6941 MB / 0.9611 GB, free: 8.859 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 7.417e-05/0.009728, allocations: 134.8 kB / 0.9612 GB, free: 8.703 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.009736, allocations: 4 kB / 0.9612 GB, free: 8.699 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.009754, allocations: 4 kB / 0.9612 GB, free: 8.695 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.077e-05/0.009824, allocations: 11.94 kB / 0.9612 GB, free: 8.684 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.009833, allocations: 4 kB / 0.9613 GB, free: 8.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/0.01016, allocations: 113 kB / 0.9614 GB, free: 8.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/0.01019, allocations: 31.97 kB / 0.9614 GB, free: 8.539 MB / 0.9167 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.0001111/0.0103, allocations: 145.7 kB / 0.9615 GB, free: 8.387 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.01033, allocations: 35.8 kB / 0.9616 GB, free: 8.352 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.5e-05/0.01036, allocations: 17.33 kB / 0.9616 GB, free: 8.328 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.01037, allocations: 4 kB / 0.9616 GB, free: 8.324 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.01037, allocations: 0 / 0.9616 GB, free: 8.324 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.01038, allocations: 0 / 0.9616 GB, free: 8.324 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.01052, allocations: 189.1 kB / 0.9618 GB, free: 8.109 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.01052, allocations: 3.984 kB / 0.9618 GB, free: 8.105 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.473e-05/0.01055, allocations: 19.92 kB / 0.9618 GB, free: 8.086 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.01055, allocations: 4 kB / 0.9618 GB, free: 8.082 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.01056, allocations: 8 kB / 0.9618 GB, free: 8.074 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.01057, allocations: 0 / 0.9618 GB, free: 8.074 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01057, allocations: 4 kB / 0.9618 GB, free: 8.07 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.01077, allocations: 223.4 kB / 0.962 GB, free: 7.824 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.517e-05/0.0108, allocations: 15.86 kB / 0.962 GB, free: 7.809 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.01082, allocations: 11.98 kB / 0.962 GB, free: 7.797 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.904e-05/0.01085, allocations: 4 kB / 0.962 GB, free: 7.793 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.01089, allocations: 11.98 kB / 0.9621 GB, free: 7.781 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.0109, allocations: 15.92 kB / 0.9621 GB, free: 7.766 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002161/0.01111, allocations: 165.2 kB / 0.9622 GB, free: 7.605 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.01111, allocations: 0 / 0.9622 GB, free: 7.605 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002118/0.01132, allocations: 71.92 kB / 0.9623 GB, free: 7.535 MB / 0.9167 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.0001239/0.01145, allocations: 111.2 kB / 0.9624 GB, free: 7.418 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004724/0.01192, allocations: 0.6056 MB / 0.963 GB, free: 6.738 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01192, allocations: 4 kB / 0.963 GB, free: 6.734 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.797e-05/0.01201, allocations: 71.91 kB / 0.9631 GB, free: 6.664 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.01228, allocations: 76.8 kB / 0.9631 GB, free: 6.59 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/0.0127, allocations: 370.9 kB / 0.9635 GB, free: 6.188 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.48e-05/0.01277, allocations: 120.9 kB / 0.9636 GB, free: 6.051 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.0128, allocations: 24.48 kB / 0.9636 GB, free: 6.027 MB / 0.9167 GB Notification: Performance of SimCode: time 4.91e-07/0.0128, allocations: 0 / 0.9636 GB, free: 6.027 MB / 0.9167 GB Notification: Performance of Templates: time 0.003497/0.0163, allocations: 3.556 MB / 0.9671 GB, free: 2.504 MB / 0.9167 GB " [Timeout remaining time 300] 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: 6.261346159502864]