Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001136/0.001136, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001184/0.001184, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.272/2.272, allocations: 390.2 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.89 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.799/0.8003, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002454/0.8028, allocations: 1.428 MB / 1.09 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006691/0.8035, allocations: 435.8 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.773e-05/0.8035, allocations: 1.031 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.993e-05/0.8036, allocations: 4.594 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.7e-05/0.8036, allocations: 11.84 kB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000149/0.8038, allocations: 23.44 kB / 1.09 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.8039, allocations: 55.05 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.618e-05/0.804, allocations: 9.531 kB / 1.09 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.561e-05/0.8041, allocations: 14.56 kB / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.564e-05/0.8042, allocations: 27.2 kB / 1.091 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.8042, allocations: 3.25 kB / 1.091 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.396e-05/0.8042, allocations: 3.969 kB / 1.091 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.485e-05/0.8042, allocations: 7.25 kB / 1.091 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.954e-05/0.8043, allocations: 33.08 kB / 1.091 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.8044, allocations: 39.14 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.8044, allocations: 0 / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8044, allocations: 1.062 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.8044, allocations: 0 / 1.091 GB, free: 4.117 MB / 0.8575 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.0005739/0.805, allocations: 395.7 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.8051, allocations: 13.06 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.529e-05/0.8051, allocations: 8.906 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.875e-05/0.8052, allocations: 165.7 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.8052, allocations: 3.531 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.8053, allocations: 6.938 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.8054, allocations: 51.89 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.8054, allocations: 0 / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.8054, allocations: 5.625 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.8054, allocations: 0 / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.372e-05/0.8055, allocations: 24.84 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003841/0.8059, allocations: 277.5 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.498e-05/0.806, allocations: 39.56 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.763e-05/0.806, allocations: 27.75 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.8061, allocations: 5.188 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.8062, allocations: 101.2 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.8062, allocations: 4 kB / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0002624/0.8065, allocations: 140.3 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.8065, allocations: 79.84 kB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.974e-05/0.8066, allocations: 112.2 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.8067, allocations: 26.86 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.034e-05/0.8067, allocations: 86.42 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.8067, allocations: 20.78 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/0.8068, allocations: 24.12 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.315e-05/0.8068, allocations: 323.1 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.663e-05/0.8069, allocations: 14.45 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.746e-05/0.8069, allocations: 38.11 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.425e-05/0.807, allocations: 114.4 kB / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.807, allocations: 1.75 kB / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001533/0.8072, allocations: 130 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.8072, allocations: 36.59 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.8072, allocations: 2.047 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.8072, allocations: 1.281 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.477e-05/0.8073, allocations: 3.781 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.8073, allocations: 0.6875 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.868e-05/0.8074, allocations: 7.578 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.8074, allocations: 6.938 kB / 1.093 GB, free: 1.98 MB / 0.8575 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.426e-05/0.8075, allocations: 153.7 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.837e-05/0.8075, allocations: 11.59 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.678e-05/0.8075, allocations: 10.94 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.8075, allocations: 1.203 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.8075, allocations: 0 / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.308e-05/0.8076, allocations: 80.64 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.8076, allocations: 6.922 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.865e-05/0.8077, allocations: 11.53 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.8077, allocations: 10.45 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002541/0.808, allocations: 280 kB / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000205/0.8082, allocations: 303.3 kB / 1.094 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.334e-05/0.8083, allocations: 36.58 kB / 1.094 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.044e-05/0.8083, allocations: 87.81 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of Backend: time 2.1e-07/0.8083, allocations: 0 / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003795/0.8087, allocations: 174.8 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004544/0.8092, allocations: 0.6441 MB / 1.095 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of Templates: time 0.00361/0.8128, allocations: 0.9373 MB / 1.095 GB, free: 16.2 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Buildings_9_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_9_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_9_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_9_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Discrete_Examples_BooleanDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Discrete.Examples.BooleanDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches