Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.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.001324/0.001324, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001521/0.001521, allocations: 216.2 kB / 23.01 MB, free: 4.566 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.798/2.798, allocations: 476.7 MB / 0.7714 GB, free: 4.27 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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.u|del.y",fileNamePrefix="Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.u|del.y",fileNamePrefix="Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay") [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.002028/0.002028, allocations: 65.2 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3352, allocations: 170 MB / 1.285 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.00266/0.3379, allocations: 1.463 MB / 1.286 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008343/0.3387, allocations: 480.6 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.979e-05/0.3387, allocations: 0 / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.508e-05/0.3388, allocations: 3.938 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.024e-05/0.3388, allocations: 11.86 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.339, allocations: 19.92 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.3391, allocations: 55.78 kB / 1.287 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.472e-05/0.3392, allocations: 7.938 kB / 1.287 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.247e-05/0.3392, allocations: 23.91 kB / 1.287 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.519e-05/0.3393, allocations: 23.92 kB / 1.287 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.3393, allocations: 11.94 kB / 1.287 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.158e-05/0.3393, allocations: 4 kB / 1.287 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.513e-05/0.3394, allocations: 7.984 kB / 1.287 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.348e-05/0.3394, allocations: 19.88 kB / 1.287 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.3395, allocations: 39.88 kB / 1.287 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3395, allocations: 0 / 1.287 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3395, allocations: 0 / 1.287 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.3395, allocations: 0 / 1.287 GB, free: 9.121 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005891/0.3401, allocations: 325.4 kB / 1.287 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.3401, allocations: 8.031 kB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.3402, allocations: 4.938 kB / 1.287 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.3403, allocations: 118.5 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-06/0.3403, allocations: 384 / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.3403, allocations: 4.375 kB / 1.287 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.3404, allocations: 57.94 kB / 1.287 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.3405, allocations: 0 / 1.287 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.3405, allocations: 3.938 kB / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3405, allocations: 3.984 kB / 1.287 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.381e-05/0.3405, allocations: 20 kB / 1.287 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/0.3409, allocations: 243.9 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.357e-05/0.341, allocations: 34.56 kB / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.607e-05/0.341, allocations: 20.92 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.341, allocations: 0 / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.3412, allocations: 109 kB / 1.288 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.3412, allocations: 0 / 1.288 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0002897/0.3415, allocations: 139.6 kB / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.3416, allocations: 77.11 kB / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.19e-05/0.3417, allocations: 113.8 kB / 1.288 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.3417, allocations: 29.64 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.3418, allocations: 92.09 kB / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.3418, allocations: 19.89 kB / 1.288 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.3418, allocations: 33.72 kB / 1.288 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.342, allocations: 322.8 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.251e-05/0.342, allocations: 12 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.202e-05/0.3421, allocations: 38.56 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.3422, allocations: 114.3 kB / 1.289 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3422, allocations: 4 kB / 1.289 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001678/0.3424, allocations: 123.3 kB / 1.289 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/0.3424, allocations: 33.7 kB / 1.289 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3424, allocations: 0 / 1.289 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3424, allocations: 4 kB / 1.289 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.208e-05/0.3424, allocations: 7.922 kB / 1.289 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.3425, allocations: 4 kB / 1.289 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.257e-05/0.3425, allocations: 8 kB / 1.289 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.3425, allocations: 4 kB / 1.289 GB, free: 6.781 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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.00012/0.3426, allocations: 156.6 kB / 1.289 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.658e-05/0.3427, allocations: 7.953 kB / 1.289 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.3427, allocations: 8.375 kB / 1.289 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.3427, allocations: 3.984 kB / 1.289 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3427, allocations: 3.938 kB / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3427, allocations: 0 / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004254/0.3431, allocations: 375.3 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3431, allocations: 0 / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.438e-06/0.3431, allocations: 11.98 kB / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3431, allocations: 0 / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.3431, allocations: 0 / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.3432, allocations: 4 kB / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3432, allocations: 0 / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.3434, allocations: 241.1 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.359e-05/0.3434, allocations: 7.891 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.3434, allocations: 4 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.3435, allocations: 11.98 kB / 1.29 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.3436, allocations: 15.92 kB / 1.29 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.3436, allocations: 4 kB / 1.29 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.747e-05/0.3437, allocations: 87.27 kB / 1.29 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3437, allocations: 0 / 1.29 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002309/0.3439, allocations: 16 kB / 1.29 GB, free: 5.746 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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 9.765e-05/0.344, allocations: 103.2 kB / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001875/0.3442, allocations: 107.4 kB / 1.29 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3442, allocations: 0 / 1.29 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.732e-05/0.3443, allocations: 87.33 kB / 1.29 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.3445, allocations: 14.48 kB / 1.29 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.3449, allocations: 171.3 kB / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.3452, allocations: 0.6884 MB / 1.291 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/0.3452, allocations: 23.55 kB / 1.291 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3452, allocations: 0 / 1.291 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of Templates: time 0.002446/0.3477, allocations: 0.9028 MB / 1.292 GB, free: 3.578 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Discrete_Examples_BooleanDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.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.278546102985274]