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.001049/0.001049, allocations: 76.45 kB / 19.93 MB, free: 4.613 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.0008478/0.0008478, allocations: 181.9 kB / 23.22 MB, free: 1.32 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.8582/0.8582, allocations: 177.2 MB / 203.5 MB, free: 5.75 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.623/1.623, allocations: 359 MB / 0.6044 GB, free: 11.12 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.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 1.934e-06/1.934e-06, allocations: 0 / 0.9517 GB, free: 3.062 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/2.952e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.059 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002023/0.002052, allocations: 1.443 MB / 0.9531 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0006332/0.002686, allocations: 443.4 kB / 0.9535 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.9e-05/0.002725, allocations: 0 / 0.9535 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.813e-05/0.002753, allocations: 7.938 kB / 0.9535 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.995e-05/0.002833, allocations: 11.88 kB / 0.9535 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.002998, allocations: 15.97 kB / 0.9535 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.003118, allocations: 55.78 kB / 0.9536 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.065e-05/0.003209, allocations: 4 kB / 0.9536 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.694e-05/0.003286, allocations: 35.84 kB / 0.9536 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.498e-05/0.003351, allocations: 15.97 kB / 0.9536 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.003371, allocations: 4 kB / 0.9536 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.054e-05/0.003381, allocations: 4 kB / 0.9537 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.402e-05/0.003405, allocations: 7.938 kB / 0.9537 GB, free: 1 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.737e-05/0.003443, allocations: 19.98 kB / 0.9537 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.00356, allocations: 47.81 kB / 0.9537 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003562, allocations: 0 / 0.9537 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.462e-06/0.003563, allocations: 0 / 0.9537 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.003568, allocations: 0 / 0.9537 GB, free: 0.9336 MB / 0.9011 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.0004873/0.004055, allocations: 319.9 kB / 0.954 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.004094, allocations: 8.031 kB / 0.954 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.004131, allocations: 16.81 kB / 0.9541 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.843e-05/0.004219, allocations: 117.7 kB / 0.9542 GB, free: 432 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.004232, allocations: 4.375 kB / 0.9542 GB, free: 428 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.709e-06/0.004241, allocations: 384 / 0.9542 GB, free: 428 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.004438, allocations: 83.94 kB / 0.9543 GB, free: 332 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.004446, allocations: 192 / 0.9543 GB, free: 332 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.004457, allocations: 384 / 0.9543 GB, free: 332 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.004462, allocations: 3.938 kB / 0.9543 GB, free: 328 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.836e-05/0.004521, allocations: 45.7 kB / 0.9543 GB, free: 276 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003393/0.00486, allocations: 216.5 kB / 0.9545 GB, free: 28 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.004964, allocations: 72.2 kB / 0.9546 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.262e-05/0.004997, allocations: 42.69 kB / 0.9546 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.005014, allocations: 7.938 kB / 0.9546 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000155/0.005169, allocations: 138.7 kB / 0.9548 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.00517, allocations: 0 / 0.9548 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9): time 0.0002464/0.005417, allocations: 198.7 kB / 0.9549 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.005463, allocations: 85.09 kB / 0.955 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.448e-05/0.005528, allocations: 113.9 kB / 0.9551 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.005539, allocations: 29.7 kB / 0.9552 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/0.005575, allocations: 84.14 kB / 0.9552 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.005592, allocations: 19.91 kB / 0.9553 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.005629, allocations: 29.7 kB / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.559e-05/0.005704, allocations: 322.8 kB / 0.9556 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.654e-05/0.005741, allocations: 45.69 kB / 0.9556 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.553e-05/0.005786, allocations: 72.2 kB / 0.9557 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.602e-05/0.005862, allocations: 110 kB / 0.9558 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.005864, allocations: 0 / 0.9558 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001231/0.005987, allocations: 160.9 kB / 0.956 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.006018, allocations: 29.7 kB / 0.956 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.006023, allocations: 384 / 0.956 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.006037, allocations: 8.062 kB / 0.956 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.893e-05/0.006086, allocations: 11.92 kB / 0.956 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.006091, allocations: 0 / 0.956 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.619e-05/0.006137, allocations: 7.938 kB / 0.956 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.006143, allocations: 4 kB / 0.956 GB, free: 14.27 MB / 0.9167 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 8.091e-05/0.006224, allocations: 147.5 kB / 0.9562 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.133e-05/0.006236, allocations: 11.89 kB / 0.9562 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.00626, allocations: 8.438 kB / 0.9562 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.006261, allocations: 0 / 0.9562 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.006266, allocations: 0 / 0.9562 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.006269, allocations: 8 kB / 0.9562 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.006566, allocations: 369.5 kB / 0.9565 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.006571, allocations: 4 kB / 0.9566 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.161e-06/0.006577, allocations: 0 / 0.9566 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.00658, allocations: 7.875 kB / 0.9566 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.006593, allocations: 4 kB / 0.9566 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.006595, allocations: 0 / 0.9566 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.006596, allocations: 0 / 0.9566 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.006759, allocations: 262.8 kB / 0.9568 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.316e-05/0.006772, allocations: 7.953 kB / 0.9568 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.006789, allocations: 4 kB / 0.9568 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.94e-05/0.006859, allocations: 15.98 kB / 0.9568 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.006902, allocations: 3.938 kB / 0.9568 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.006919, allocations: 7.984 kB / 0.9569 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.252e-05/0.006952, allocations: 87.28 kB / 0.9569 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006952, allocations: 0 / 0.9569 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001567/0.007108, allocations: 16 kB / 0.9569 GB, free: 13.23 MB / 0.9167 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.361e-05/0.007202, allocations: 103.2 kB / 0.957 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000173/0.007375, allocations: 178.8 kB / 0.9572 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.007377, allocations: 0 / 0.9572 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.525e-05/0.007442, allocations: 109.1 kB / 0.9573 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.007681, allocations: 27.27 kB / 0.9573 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.007992, allocations: 200.2 kB / 0.9575 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.907e-05/0.008041, allocations: 71.89 kB / 0.9576 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.844e-05/0.00807, allocations: 16.5 kB / 0.9576 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of SimCode: time 4.81e-07/0.00807, allocations: 3.938 kB / 0.9576 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of Templates: time 0.001849/0.009919, allocations: 0.9099 MB / 0.9585 GB, free: 11.52 MB / 0.9167 GB " [Timeout remaining time 300] 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/jenkins/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: 6.548751141875982]