Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 117.6 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 194.1 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.584/2.584, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.Discrete.Examples.BooleanDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 59.89 kB / 1.057 GB, free: 2.008 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3197, allocations: 160.7 MB / 1.214 GB, free: 0.9766 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002944/0.3226, allocations: 1.433 MB / 1.215 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008213/0.3234, allocations: 439.7 kB / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.107e-05/0.3235, allocations: 0 / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.007e-05/0.3235, allocations: 0 / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.177e-05/0.3236, allocations: 23.84 kB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.3238, allocations: 15.98 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.3239, allocations: 55.78 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.184e-05/0.324, allocations: 4 kB / 1.216 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.529e-05/0.3241, allocations: 31.84 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.056e-05/0.3242, allocations: 19.92 kB / 1.216 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.3242, allocations: 4 kB / 1.216 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.397e-05/0.3242, allocations: 4 kB / 1.216 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.588e-05/0.3242, allocations: 4 kB / 1.216 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.914e-05/0.3243, allocations: 27.8 kB / 1.216 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.3244, allocations: 47.75 kB / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3244, allocations: 0 / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3244, allocations: 0 / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3244, allocations: 0 / 1.216 GB, free: 14.86 MB / 0.9669 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.0006943/0.3251, allocations: 401 kB / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.3252, allocations: 8.031 kB / 1.216 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.3252, allocations: 8.891 kB / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.3253, allocations: 164.4 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.3254, allocations: 8.375 kB / 1.217 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.3254, allocations: 4.375 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.3255, allocations: 57.92 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3255, allocations: 4 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.3255, allocations: 4 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3255, allocations: 0 / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.604e-05/0.3256, allocations: 23.92 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004675/0.3261, allocations: 272.8 kB / 1.217 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.156e-05/0.3261, allocations: 42.56 kB / 1.217 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.502e-05/0.3262, allocations: 12.98 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.3262, allocations: 0 / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.3264, allocations: 109 kB / 1.217 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.3264, allocations: 0 / 1.217 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0003059/0.3267, allocations: 143.3 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.261e-05/0.3268, allocations: 81.11 kB / 1.217 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.569e-05/0.3269, allocations: 109.8 kB / 1.217 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.3269, allocations: 29.7 kB / 1.217 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.3269, allocations: 80.14 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.327, allocations: 31.89 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/0.327, allocations: 25.72 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3272, allocations: 322.8 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.407e-05/0.3272, allocations: 16 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.071e-05/0.3272, allocations: 34.84 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.3274, allocations: 118 kB / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3274, allocations: 3.938 kB / 1.218 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000168/0.3275, allocations: 123.3 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/0.3276, allocations: 33.7 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3276, allocations: 0 / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3276, allocations: 0 / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.523e-05/0.3277, allocations: 7.984 kB / 1.218 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.3277, allocations: 0 / 1.218 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.468e-05/0.3277, allocations: 8 kB / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.3277, allocations: 8.062 kB / 1.218 GB, free: 12.32 MB / 0.9669 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.0001196/0.3279, allocations: 158.2 kB / 1.218 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.3279, allocations: 7.953 kB / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.787e-05/0.3279, allocations: 12.31 kB / 1.218 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.3279, allocations: 0 / 1.218 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3279, allocations: 0 / 1.218 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.3279, allocations: 3.984 kB / 1.218 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004252/0.3283, allocations: 408.1 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3283, allocations: 7.984 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.655e-06/0.3284, allocations: 0 / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3284, allocations: 4 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.3284, allocations: 0 / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3284, allocations: 0 / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3284, allocations: 64 / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.3286, allocations: 233.1 kB / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-05/0.3286, allocations: 85.06 kB / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.3287, allocations: 8 kB / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.3288, allocations: 11.98 kB / 1.219 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.3288, allocations: 11.92 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.3288, allocations: 0 / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.792e-05/0.3289, allocations: 87.28 kB / 1.219 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.3289, allocations: 0 / 1.219 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002334/0.3291, allocations: 23.92 kB / 1.219 GB, free: 11.16 MB / 0.9669 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 0.0001117/0.3292, allocations: 99.25 kB / 1.219 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000195/0.3294, allocations: 112.1 kB / 1.219 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3294, allocations: 0 / 1.219 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.278e-05/0.3295, allocations: 87.31 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.3298, allocations: 18.02 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003742/0.3302, allocations: 175 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.3305, allocations: 0.6886 MB / 1.22 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.157e-05/0.3305, allocations: 11.44 kB / 1.22 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of SimCode: time 2.6e-07/0.3305, allocations: 0 / 1.22 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of Templates: time 0.002741/0.3333, allocations: 0.9043 MB / 1.221 GB, free: 8.984 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_10_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_10_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_10_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Discrete_Examples_BooleanDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.308781988918781]