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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|del.u|del.y",fileNamePrefix="Buildings_10_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 111.8 kB / 16.42 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 186.7 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.458/2.458, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001619, allocations: 63.88 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8599/0.8615, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002407/0.864, allocations: 1.411 MB / 1.169 GB, free: 2.461 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007289/0.8647, allocations: 439 kB / 1.169 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.201e-05/0.8648, allocations: 3.938 kB / 1.169 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.502e-05/0.8648, allocations: 3.938 kB / 1.169 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.82e-05/0.8649, allocations: 19.78 kB / 1.169 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.8651, allocations: 15.98 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.8652, allocations: 47.86 kB / 1.169 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.049e-05/0.8653, allocations: 15.98 kB / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.655e-05/0.8654, allocations: 23.88 kB / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.872e-05/0.8655, allocations: 23.89 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.8655, allocations: 4 kB / 1.169 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.29e-05/0.8655, allocations: 4 kB / 1.169 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.452e-05/0.8655, allocations: 4 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.436e-05/0.8656, allocations: 27.86 kB / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.8657, allocations: 39.88 kB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.8657, allocations: 0 / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.766e-06/0.8657, allocations: 3.938 kB / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.8657, allocations: 3.938 kB / 1.169 GB, free: 1.789 MB / 0.8887 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.0005781/0.8663, allocations: 397 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.8663, allocations: 8.922 kB / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.8664, allocations: 8.844 kB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.8665, allocations: 166.1 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.8665, allocations: 8.359 kB / 1.17 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.8665, allocations: 8.359 kB / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.8667, allocations: 53.98 kB / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.8667, allocations: 4 kB / 1.17 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.8667, allocations: 4 kB / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.8667, allocations: 0 / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.634e-05/0.8668, allocations: 19.92 kB / 1.17 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003648/0.8671, allocations: 272.8 kB / 1.17 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.776e-05/0.8672, allocations: 42.56 kB / 1.17 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.491e-05/0.8673, allocations: 16.98 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.8673, allocations: 4 kB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.8675, allocations: 117.1 kB / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.8675, allocations: 0 / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of matching and sorting (n=9): time 0.0002806/0.8678, allocations: 135.6 kB / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.8678, allocations: 85.05 kB / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.997e-05/0.8679, allocations: 113.8 kB / 1.171 GB, free: 148 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.8679, allocations: 29.7 kB / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.868, allocations: 88.14 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.868, allocations: 11.81 kB / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.018e-05/0.8681, allocations: 29.75 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.181e-05/0.8682, allocations: 318.8 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.555e-05/0.8682, allocations: 16 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.501e-05/0.8683, allocations: 30.56 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.981e-05/0.8684, allocations: 125.8 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.8684, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001501/0.8685, allocations: 127.2 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/0.8686, allocations: 29.7 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.8686, allocations: 7.938 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.8686, allocations: 0 / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.217e-05/0.8686, allocations: 4 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.8687, allocations: 0 / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.465e-05/0.8687, allocations: 16.05 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.8687, allocations: 4 kB / 1.172 GB, free: 15.25 MB / 0.9044 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.0001007/0.8688, allocations: 155.4 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.8689, allocations: 7.906 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.508e-05/0.8689, allocations: 8.375 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.8689, allocations: 0 / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8689, allocations: 0 / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.526e-05/0.869, allocations: 85.02 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.869, allocations: 4 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.718e-05/0.8691, allocations: 11.98 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.8691, allocations: 15.92 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002442/0.8694, allocations: 262 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000216/0.8696, allocations: 304.6 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.728e-05/0.8697, allocations: 39.86 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.961e-05/0.8697, allocations: 91.28 kB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of Backend: time 4.21e-07/0.8697, allocations: 0 / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003812/0.8701, allocations: 173.7 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of SimCode: time 0.000498/0.8706, allocations: 0.643 MB / 1.173 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of Templates: time 0.003194/0.8738, allocations: 0.934 MB / 1.174 GB, free: 12.38 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) 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) Reference file matches