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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 102.6 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 249.9 MB, free: 13.46 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.529/2.529, allocations: 443.5 MB / 0.731 GB, free: 12.75 MB / 0.5919 GB [Timeout remaining time 87] 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=541,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=541,variableFilter="time|del.u|del.y",fileNamePrefix="Buildings_10_Buildings.Controls.Discrete.Examples.BooleanDelay") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 63.88 kB / 1.06 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9655/0.9675, allocations: 160.7 MB / 1.217 GB, free: 4.039 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.00285/0.9703, allocations: 1.421 MB / 1.218 GB, free: 2.93 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008384/0.9712, allocations: 440.7 kB / 1.218 GB, free: 2.59 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.232e-05/0.9712, allocations: 3.938 kB / 1.218 GB, free: 2.586 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.604e-05/0.9713, allocations: 3.938 kB / 1.218 GB, free: 2.582 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.228e-05/0.9714, allocations: 14.08 kB / 1.218 GB, free: 2.57 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001559/0.9715, allocations: 15.42 kB / 1.218 GB, free: 2.559 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.9716, allocations: 51.56 kB / 1.218 GB, free: 2.527 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.772e-05/0.9717, allocations: 7.031 kB / 1.218 GB, free: 2.523 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.103e-05/0.9718, allocations: 31.67 kB / 1.218 GB, free: 2.5 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.16e-05/0.9719, allocations: 18.64 kB / 1.218 GB, free: 2.488 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.9719, allocations: 3.719 kB / 1.218 GB, free: 2.488 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.47e-05/0.9719, allocations: 3.969 kB / 1.218 GB, free: 2.488 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.415e-05/0.972, allocations: 17.12 kB / 1.218 GB, free: 2.473 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.746e-05/0.972, allocations: 14.47 kB / 1.218 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.9721, allocations: 42.73 kB / 1.219 GB, free: 2.438 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.9721, allocations: 1.031 kB / 1.219 GB, free: 2.438 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9721, allocations: 3.938 kB / 1.219 GB, free: 2.434 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.9721, allocations: 0 / 1.219 GB, free: 2.434 MB / 0.92 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.0006951/0.9728, allocations: 408.7 kB / 1.219 GB, free: 2.012 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.9729, allocations: 9.953 kB / 1.219 GB, free: 2.012 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/0.9729, allocations: 12.11 kB / 1.219 GB, free: 2.004 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.9731, allocations: 175.5 kB / 1.219 GB, free: 1.797 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.9731, allocations: 2.531 kB / 1.219 GB, free: 1.797 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.9731, allocations: 2.438 kB / 1.219 GB, free: 1.797 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.9733, allocations: 53.5 kB / 1.219 GB, free: 1.75 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.9733, allocations: 5.078 kB / 1.219 GB, free: 1.746 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.9733, allocations: 4 kB / 1.219 GB, free: 1.742 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.9733, allocations: 1.031 kB / 1.219 GB, free: 1.742 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.739e-05/0.9734, allocations: 14.28 kB / 1.219 GB, free: 1.738 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.9738, allocations: 280.6 kB / 1.219 GB, free: 1.43 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.24e-05/0.9739, allocations: 34.5 kB / 1.219 GB, free: 1.398 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.04e-05/0.974, allocations: 20.03 kB / 1.22 GB, free: 1.383 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.974, allocations: 5.719 kB / 1.22 GB, free: 1.379 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002116/0.9742, allocations: 102.2 kB / 1.22 GB, free: 1.277 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.9742, allocations: 0 / 1.22 GB, free: 1.277 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0003188/0.9745, allocations: 145.3 kB / 1.22 GB, free: 1.176 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.205e-05/0.9746, allocations: 79.3 kB / 1.22 GB, free: 1.082 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.9747, allocations: 112.3 kB / 1.22 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.9747, allocations: 27.14 kB / 1.22 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.577e-05/0.9748, allocations: 93.53 kB / 1.22 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.9748, allocations: 11.62 kB / 1.22 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.881e-05/0.9748, allocations: 30.03 kB / 1.22 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.975, allocations: 324 kB / 1.22 GB, free: 500 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.875e-05/0.975, allocations: 16.42 kB / 1.22 GB, free: 492 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.47e-05/0.9751, allocations: 30.92 kB / 1.22 GB, free: 464 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.9752, allocations: 125.6 kB / 1.221 GB, free: 340 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.9752, allocations: 0 / 1.221 GB, free: 340 kB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001735/0.9754, allocations: 125.2 kB / 1.221 GB, free: 244 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.228e-05/0.9754, allocations: 35.59 kB / 1.221 GB, free: 208 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.9754, allocations: 5.062 kB / 1.221 GB, free: 204 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.9755, allocations: 1.062 kB / 1.221 GB, free: 204 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.617e-05/0.9755, allocations: 3.25 kB / 1.221 GB, free: 204 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.9755, allocations: 1.312 kB / 1.221 GB, free: 204 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.671e-05/0.9756, allocations: 13.38 kB / 1.221 GB, free: 196 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.9756, allocations: 6.516 kB / 1.221 GB, free: 192 kB / 0.92 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.0001303/0.9757, allocations: 147 kB / 1.221 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/0.9757, allocations: 7.922 kB / 1.221 GB, free: 32 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.9758, allocations: 9.594 kB / 1.221 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.9758, allocations: 5.234 kB / 1.221 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.9758, allocations: 1.438 kB / 1.221 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.9758, allocations: 3.984 kB / 1.221 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004844/0.9763, allocations: 407.9 kB / 1.221 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.9763, allocations: 0 / 1.221 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.187e-06/0.9763, allocations: 5.062 kB / 1.221 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.9763, allocations: 1.031 kB / 1.221 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.9763, allocations: 5.094 kB / 1.221 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.9763, allocations: 1 kB / 1.221 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.9763, allocations: 1.125 kB / 1.221 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.9765, allocations: 236.9 kB / 1.222 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.9766, allocations: 86.16 kB / 1.222 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.9766, allocations: 6.859 kB / 1.222 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.9767, allocations: 5.5 kB / 1.222 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.9768, allocations: 14.89 kB / 1.222 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.9768, allocations: 3.375 kB / 1.222 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.77e-05/0.9769, allocations: 89.8 kB / 1.222 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6e-08/0.9769, allocations: 0 / 1.222 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002298/0.9771, allocations: 13.84 kB / 1.222 GB, free: 15.21 MB / 0.9356 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.0001247/0.9772, allocations: 100.8 kB / 1.222 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002117/0.9774, allocations: 116.3 kB / 1.222 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9774, allocations: 0 / 1.222 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.99e-05/0.9775, allocations: 86.86 kB / 1.222 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.9778, allocations: 7.344 kB / 1.222 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004026/0.9782, allocations: 182.6 kB / 1.222 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.9785, allocations: 0.6907 MB / 1.223 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.9786, allocations: 11.53 kB / 1.223 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.9786, allocations: 0 / 1.223 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of Templates: time 0.002809/0.9814, allocations: 0.917 MB / 1.224 GB, free: 13.58 MB / 0.9356 GB [Timeout remaining time 299] 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/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