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.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.001602/0.001602, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.002077/0.002077, allocations: 192.4 kB / 22.17 MB, free: 5.656 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.48/1.48, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.773/2.773, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.00284/0.00284, allocations: 67.89 kB / 1.109 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8187/0.8216, allocations: 168.7 MB / 1.274 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002564/0.8241, allocations: 1.448 MB / 1.275 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007422/0.8249, allocations: 440.5 kB / 1.276 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.798e-05/0.8249, allocations: 7.938 kB / 1.276 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.586e-05/0.8249, allocations: 0 / 1.276 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.241e-05/0.825, allocations: 23.78 kB / 1.276 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.8252, allocations: 15.98 kB / 1.276 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.8253, allocations: 47.86 kB / 1.276 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.525e-05/0.8254, allocations: 11.98 kB / 1.276 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.952e-05/0.8254, allocations: 19.88 kB / 1.276 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.679e-05/0.8255, allocations: 23.89 kB / 1.276 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.8255, allocations: 8 kB / 1.276 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.203e-05/0.8255, allocations: 4 kB / 1.276 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.8255, allocations: 7.938 kB / 1.276 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.8256, allocations: 19.92 kB / 1.276 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.8257, allocations: 46.48 kB / 1.276 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.8257, allocations: 4 kB / 1.276 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8257, allocations: 3.938 kB / 1.276 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.8257, allocations: 0 / 1.276 GB, free: 2.402 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.0006319/0.8263, allocations: 397 kB / 1.276 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.8264, allocations: 8.031 kB / 1.276 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.8264, allocations: 8.891 kB / 1.276 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.8266, allocations: 172.4 kB / 1.277 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.8266, allocations: 384 / 1.277 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.8266, allocations: 4.375 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.8267, allocations: 54 kB / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.8267, allocations: 0 / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.8267, allocations: 0 / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.8267, allocations: 4 kB / 1.277 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.858e-05/0.8268, allocations: 23.92 kB / 1.277 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.8272, allocations: 276.7 kB / 1.277 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.832e-05/0.8273, allocations: 34.56 kB / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.922e-05/0.8273, allocations: 16.98 kB / 1.277 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.8273, allocations: 0 / 1.277 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001845/0.8275, allocations: 113.1 kB / 1.277 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.8275, allocations: 0 / 1.277 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0002828/0.8278, allocations: 139.6 kB / 1.277 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.8279, allocations: 81.05 kB / 1.277 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.897e-05/0.8279, allocations: 113.8 kB / 1.277 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.828, allocations: 29.64 kB / 1.277 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.254e-05/0.828, allocations: 88.14 kB / 1.278 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.828, allocations: 19.88 kB / 1.278 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.8281, allocations: 29.72 kB / 1.278 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.8282, allocations: 322.8 kB / 1.278 GB, free: 272 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.372e-05/0.8283, allocations: 12 kB / 1.278 GB, free: 260 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.037e-05/0.8283, allocations: 38.56 kB / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.8284, allocations: 117.9 kB / 1.278 GB, free: 72 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8284, allocations: 0 / 1.278 GB, free: 72 kB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001775/0.8286, allocations: 123.2 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.635e-05/0.8286, allocations: 33.7 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.8286, allocations: 0 / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.8287, allocations: 4.062 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.55e-05/0.8287, allocations: 7.984 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.8287, allocations: 4.391 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.886e-05/0.8288, allocations: 11.95 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.8288, allocations: 8.062 kB / 1.278 GB, free: 15.86 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.0001143/0.8289, allocations: 155.4 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.8289, allocations: 3.984 kB / 1.278 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.279e-05/0.829, allocations: 12.38 kB / 1.278 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.829, allocations: 0 / 1.278 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.829, allocations: 0 / 1.278 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.829, allocations: 0 / 1.278 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004304/0.8294, allocations: 404.1 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.8294, allocations: 0 / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.218e-05/0.8294, allocations: 11.98 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.8294, allocations: 0 / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.547e-06/0.8294, allocations: 0 / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.8294, allocations: 0 / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.8294, allocations: 4.078 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.8297, allocations: 241.1 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.908e-05/0.8297, allocations: 85 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.8297, allocations: 4 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.8298, allocations: 11.98 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.8299, allocations: 15.92 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.8299, allocations: 4 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.149e-05/0.83, allocations: 83.28 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.83, allocations: 0 / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002418/0.8302, allocations: 16 kB / 1.279 GB, free: 14.71 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 0.0001048/0.8303, allocations: 105.5 kB / 1.279 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001863/0.8305, allocations: 107.3 kB / 1.279 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8305, allocations: 0 / 1.279 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.609e-05/0.8306, allocations: 91.27 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.8309, allocations: 11.98 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/0.8312, allocations: 157.4 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.8315, allocations: 0.6884 MB / 1.28 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.77e-05/0.8316, allocations: 12.11 kB / 1.28 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.8316, allocations: 11.44 kB / 1.28 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.8316, allocations: 0 / 1.28 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of Templates: time 0.003459/0.8351, allocations: 0.88 MB / 1.281 GB, free: 12.58 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 -s gbode -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_2/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: 8.661676406860352]