Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_latest_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_latest_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.256/2.256, allocations: 390.5 MB / 398 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 172.4 kB / 491.2 MB, free: 1.555 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.59/1.59, allocations: 221.5 MB / 0.7868 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 87.53 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.879e-05/1.898e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.333, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9514/1.284, allocations: 149.9 MB / 1.359 GB, free: 17.29 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/1.285, allocations: 69.08 kB / 1.359 GB, free: 17.29 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005504/1.29, allocations: 1.216 MB / 1.36 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.184e-06/1.29, allocations: 3.812 kB / 1.36 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.08e-05/1.29, allocations: 0 / 1.36 GB, free: 32.92 MB / 0.8386 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.0005939/1.291, allocations: 386.2 kB / 1.36 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/1.291, allocations: 7.625 kB / 1.36 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/1.291, allocations: 3.844 kB / 1.36 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/1.291, allocations: 172.6 kB / 1.361 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/1.291, allocations: 2.812 kB / 1.361 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/1.291, allocations: 7.406 kB / 1.361 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001007/1.291, allocations: 15.86 kB / 1.361 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/1.292, allocations: 49.02 kB / 1.361 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/1.292, allocations: 0 / 1.361 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/1.292, allocations: 0 / 1.361 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/1.292, allocations: 0 / 1.361 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004618/1.292, allocations: 250.4 kB / 1.361 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.619e-05/1.292, allocations: 45.52 kB / 1.361 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.415e-05/1.292, allocations: 19.08 kB / 1.361 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/1.292, allocations: 0 / 1.361 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/1.293, allocations: 99.84 kB / 1.361 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 2.004e-06/1.293, allocations: 0 / 1.361 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002935/1.293, allocations: 92.11 kB / 1.361 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/1.293, allocations: 78.42 kB / 1.361 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.863e-05/1.293, allocations: 111.5 kB / 1.361 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/1.293, allocations: 28.84 kB / 1.361 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.236e-05/1.293, allocations: 90.38 kB / 1.361 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/1.293, allocations: 15.7 kB / 1.361 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-06/1.293, allocations: 0 / 1.361 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.293, allocations: 316.6 kB / 1.362 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.01e-05/1.293, allocations: 13.84 kB / 1.362 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.26e-05/1.293, allocations: 32.61 kB / 1.362 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.934e-05/1.293, allocations: 20.66 kB / 1.362 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.294, allocations: 0 / 1.362 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001813/1.294, allocations: 88.09 kB / 1.362 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/1.294, allocations: 34.72 kB / 1.362 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/1.294, allocations: 0 / 1.362 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/1.294, allocations: 0 / 1.362 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.578e-05/1.294, allocations: 9.078 kB / 1.362 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/1.294, allocations: 0 / 1.362 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.32e-05/1.294, allocations: 22.27 kB / 1.362 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/1.294, allocations: 11.8 kB / 1.362 GB, free: 31.16 MB / 0.8386 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 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001221/1.294, allocations: 136.5 kB / 1.362 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001896/1.294, allocations: 95.66 kB / 1.362 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/1.294, allocations: 9.297 kB / 1.362 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.476e-05/1.294, allocations: 8.312 kB / 1.362 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/1.294, allocations: 0 / 1.362 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/1.294, allocations: 3.953 kB / 1.362 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/1.294, allocations: 5.5 kB / 1.362 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004106/1.295, allocations: 332.7 kB / 1.363 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/1.295, allocations: 0 / 1.363 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.217e-05/1.295, allocations: 3.875 kB / 1.363 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/1.295, allocations: 1.453 kB / 1.363 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/1.295, allocations: 7.25 kB / 1.363 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/1.295, allocations: 3.953 kB / 1.363 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/1.295, allocations: 3.875 kB / 1.363 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/1.295, allocations: 194.9 kB / 1.363 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.244e-05/1.295, allocations: 82 kB / 1.363 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/1.295, allocations: 3.875 kB / 1.363 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/1.295, allocations: 10.5 kB / 1.363 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.574e-05/1.296, allocations: 11.17 kB / 1.363 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/1.296, allocations: 0 / 1.363 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.862e-05/1.296, allocations: 88.58 kB / 1.363 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.51e-07/1.296, allocations: 4 kB / 1.363 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004054/1.296, allocations: 11.25 kB / 1.363 GB, free: 30.38 MB / 0.8386 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006178/1.297, allocations: 0.7343 MB / 1.364 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001873/1.297, allocations: 106 kB / 1.364 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.297, allocations: 0 / 1.364 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.432e-05/1.297, allocations: 89.45 kB / 1.364 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/1.297, allocations: 15.14 kB / 1.364 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005306/1.298, allocations: 133.2 kB / 1.364 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/1.298, allocations: 0.6888 MB / 1.365 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.893e-05/1.298, allocations: 5.297 kB / 1.365 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.219e-05/1.298, allocations: 17.84 kB / 1.365 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of SimCode: time 5.61e-07/1.298, allocations: 7.938 kB / 1.365 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02678/1.325, allocations: 1.281 MB / 1.366 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/1.325, allocations: 146.1 kB / 1.366 GB, free: 28.47 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.516/2.842, allocations: 4 kB / 1.366 GB, free: 28.46 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Discrete_Examples_BooleanDelay.fmu > Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat does not exist to compare? outputFormat=mat