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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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: "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_11_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_11_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006492/0.006492, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.00166/0.00166, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.482/2.482, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 71.86 kB / 1.065 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6423/0.644, allocations: 159.1 MB / 1.22 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002216/0.6462, allocations: 1.429 MB / 1.222 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0006118/0.6469, allocations: 431 kB / 1.222 GB, free: 172 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.22e-05/0.6469, allocations: 0 / 1.222 GB, free: 172 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.324e-05/0.6469, allocations: 7.922 kB / 1.222 GB, free: 164 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.354e-05/0.647, allocations: 3.938 kB / 1.222 GB, free: 160 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001253/0.6471, allocations: 27.91 kB / 1.222 GB, free: 132 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.6473, allocations: 47.84 kB / 1.222 GB, free: 84 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.879e-05/0.6473, allocations: 12 kB / 1.222 GB, free: 72 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.92e-05/0.6474, allocations: 19.92 kB / 1.222 GB, free: 52 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.45e-05/0.6474, allocations: 19.92 kB / 1.222 GB, free: 32 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.6475, allocations: 4 kB / 1.222 GB, free: 28 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.151e-05/0.6475, allocations: 0 / 1.222 GB, free: 28 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.296e-05/0.6475, allocations: 15.88 kB / 1.222 GB, free: 12 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.298e-05/0.6476, allocations: 23.98 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 9.486e-05/0.6477, allocations: 36.81 kB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.6477, allocations: 4 kB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6477, allocations: 0 / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.6477, allocations: 0 / 1.222 GB, free: 15.95 MB / 0.9512 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.0005426/0.6482, allocations: 399.7 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.6483, allocations: 12.03 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.138e-05/0.6483, allocations: 34.75 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.742e-05/0.6483, allocations: 12.88 kB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.6485, allocations: 168.3 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.6485, allocations: 4.312 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.6485, allocations: 4.375 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.6486, allocations: 69.64 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.6486, allocations: 0 / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.6487, allocations: 0 / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.6487, allocations: 0 / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.1e-05/0.6487, allocations: 19.98 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.6491, allocations: 276.8 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.96e-05/0.6492, allocations: 34.58 kB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.464e-05/0.6492, allocations: 28.91 kB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.6492, allocations: 4 kB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.6494, allocations: 101.1 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.6494, allocations: 0 / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0002563/0.6497, allocations: 143.3 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.6497, allocations: 81.11 kB / 1.223 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.342e-05/0.6498, allocations: 109.8 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.6498, allocations: 33.7 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.783e-05/0.6499, allocations: 92.06 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.855e-05/0.6499, allocations: 11.91 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.65, allocations: 29.7 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.6501, allocations: 322.8 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.219e-05/0.6501, allocations: 15.98 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.895e-05/0.6502, allocations: 34.58 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.6503, allocations: 113.9 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.6503, allocations: 4 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001508/0.6504, allocations: 123.3 kB / 1.224 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.6505, allocations: 37.69 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.6505, allocations: 0 / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.6505, allocations: 0 / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.906e-05/0.6506, allocations: 8.312 kB / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.6506, allocations: 4.062 kB / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.108e-05/0.6506, allocations: 15.94 kB / 1.224 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.6506, allocations: 4 kB / 1.224 GB, free: 13.35 MB / 0.9512 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.0001028/0.6508, allocations: 158.4 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.6508, allocations: 4 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.461e-05/0.6508, allocations: 8.375 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.6508, allocations: 4 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.6508, allocations: 3.984 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.6508, allocations: 4 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003836/0.6512, allocations: 400.1 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6512, allocations: 0 / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.284e-06/0.6512, allocations: 0 / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.6512, allocations: 0 / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.6513, allocations: 4 kB / 1.225 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.6513, allocations: 0 / 1.225 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6513, allocations: 3.938 kB / 1.225 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.6515, allocations: 237.2 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.6515, allocations: 88.98 kB / 1.225 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.6516, allocations: 4 kB / 1.225 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.208e-05/0.6517, allocations: 4 kB / 1.225 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.6517, allocations: 11.92 kB / 1.225 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.6517, allocations: 8 kB / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.719e-05/0.6518, allocations: 87.81 kB / 1.225 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6518, allocations: 0 / 1.225 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002147/0.652, allocations: 16 kB / 1.225 GB, free: 12.2 MB / 0.9512 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.0005006/0.6525, allocations: 0.7695 MB / 1.226 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001669/0.6527, allocations: 119.3 kB / 1.226 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.6527, allocations: 0 / 1.226 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.801e-05/0.6528, allocations: 95.39 kB / 1.226 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.6531, allocations: 21.94 kB / 1.226 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.6543, allocations: 1.415 MB / 1.228 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.6546, allocations: 0.6885 MB / 1.228 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.576e-05/0.6546, allocations: 8 kB / 1.228 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.6547, allocations: 19.44 kB / 1.228 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of SimCode: time 3.21e-07/0.6547, allocations: 0 / 1.228 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.029/1.684, allocations: 1.881 MB / 1.23 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/15.09, allocations: 16.53 kB / 1.23 GB, free: 7.082 MB / 0.9512 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_Discrete_Examples_BooleanDelay.fmu > Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches