Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.262/2.262, allocations: 387.1 MB / 399.7 MB, free: 9.441 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.001934/0.001934, allocations: 172.9 kB / 492.3 MB, free: 0.6016 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.7/1.7, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0009298/0.00093, allocations: 93.2 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.557e-05/3.574e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3074, allocations: 142.3 MB / 1.212 GB, free: 38.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.108/1.415, allocations: 149.8 MB / 1.359 GB, free: 19.03 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/1.415, allocations: 70.28 kB / 1.359 GB, free: 19.02 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01279/1.428, allocations: 3.999 MB / 1.363 GB, free: 34.52 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.904e-06/1.428, allocations: 0 / 1.363 GB, free: 34.52 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.339e-05/1.428, allocations: 0 / 1.363 GB, free: 34.52 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001053/1.429, allocations: 0.5374 MB / 1.363 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/1.429, allocations: 11.62 kB / 1.363 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001337/1.43, allocations: 47.94 kB / 1.363 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/1.43, allocations: 36.5 kB / 1.363 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/1.43, allocations: 172.6 kB / 1.364 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.283e-05/1.43, allocations: 28.64 kB / 1.364 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-05/1.43, allocations: 37.7 kB / 1.364 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004611/1.431, allocations: 256.6 kB / 1.364 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/1.431, allocations: 2.766 kB / 1.364 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.678e-05/1.431, allocations: 10.47 kB / 1.364 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.036e-06/1.431, allocations: 3.844 kB / 1.364 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000226/1.431, allocations: 119.5 kB / 1.364 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000948/1.432, allocations: 0.5934 MB / 1.365 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004842/1.432, allocations: 420.4 kB / 1.365 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/1.433, allocations: 200.3 kB / 1.365 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/1.433, allocations: 3.844 kB / 1.365 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000531/1.433, allocations: 364.5 kB / 1.366 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=46): time 2.524e-06/1.433, allocations: 0 / 1.366 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=46): time 0.0008132/1.434, allocations: 0.5215 MB / 1.366 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/1.434, allocations: 62.84 kB / 1.366 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/1.434, allocations: 135 kB / 1.366 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.002e-05/1.434, allocations: 52.89 kB / 1.366 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.378e-05/1.434, allocations: 101.9 kB / 1.366 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.412e-05/1.434, allocations: 102.6 kB / 1.366 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/1.434, allocations: 14.88 kB / 1.366 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.435, allocations: 333.3 kB / 1.367 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/1.435, allocations: 144.2 kB / 1.367 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003062/1.435, allocations: 293 kB / 1.367 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003149/1.435, allocations: 217.2 kB / 1.367 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/1.436, allocations: 0 / 1.367 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008489/1.436, allocations: 0.5674 MB / 1.368 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.59e-05/1.436, allocations: 65.09 kB / 1.368 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/1.436, allocations: 11.64 kB / 1.368 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/1.436, allocations: 7.688 kB / 1.368 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/1.437, allocations: 40.72 kB / 1.368 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/1.437, allocations: 10.73 kB / 1.368 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004982/1.437, allocations: 112 kB / 1.368 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.863e-05/1.437, allocations: 29.12 kB / 1.368 GB, free: 32.1 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.noThr.passed,noThr.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition20,noThr.reset,$whenCondition16,thrTim.reset,$whenCondition12,$whenCondition8,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * 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.0001786/1.437, allocations: 175.9 kB / 1.368 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.938e-05/1.438, allocations: 34.42 kB / 1.368 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.018e-05/1.438, allocations: 19.69 kB / 1.368 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/1.438, allocations: 7.828 kB / 1.368 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/1.438, allocations: 7.844 kB / 1.368 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/1.438, allocations: 2.625 kB / 1.368 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/1.439, allocations: 1.043 MB / 1.369 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/1.439, allocations: 0 / 1.369 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.008e-05/1.439, allocations: 18.09 kB / 1.37 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/1.439, allocations: 0 / 1.37 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.201e-05/1.439, allocations: 27.5 kB / 1.37 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/1.439, allocations: 3.938 kB / 1.37 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.439, allocations: 0 / 1.37 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007866/1.44, allocations: 0.6613 MB / 1.37 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.512e-05/1.44, allocations: 96.73 kB / 1.37 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.528e-05/1.44, allocations: 28.33 kB / 1.37 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/1.44, allocations: 35.14 kB / 1.37 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/1.441, allocations: 48.03 kB / 1.37 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.144e-05/1.441, allocations: 33.11 kB / 1.37 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.077e-05/1.441, allocations: 103.6 kB / 1.371 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.441, allocations: 4 kB / 1.371 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005493/1.441, allocations: 113.3 kB / 1.371 GB, free: 31.18 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 42 (noThrWitRes.reset,thrTimWitRes.reset,noThr.u,noThrWitRes.u,thrTim.u,thrTimWitRes.u,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y,noThr.reset,thrTim.reset) * Number of discrete states: 16 (thrTimWitRes.entryTime,thrTimWitRes.yAcc,thrTim.entryTime,thrTim.yAcc,thrTim.y,thrTim.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,noThr.entryTime,noThr.yAcc,noThr.y,noThr.passed,noThrWitRes.y,noThrWitRes.passed,thrTimWitRes.y,thrTimWitRes.passed) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.001292/1.443, allocations: 1.377 MB / 1.372 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007852/1.443, allocations: 0.5446 MB / 1.373 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.443, allocations: 0 / 1.373 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003843/1.444, allocations: 301.4 kB / 1.373 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/1.444, allocations: 27.89 kB / 1.373 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/1.445, allocations: 458.1 kB / 1.373 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/1.446, allocations: 0.7443 MB / 1.374 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001135/1.446, allocations: 30.98 kB / 1.374 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/1.446, allocations: 62.89 kB / 1.374 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of SimCode: time 7.31e-07/1.446, allocations: 0 / 1.374 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/1.468, allocations: 5.652 MB / 1.38 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/1.469, allocations: 171.5 kB / 1.38 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/3.288, allocations: 3.25 kB / 1.38 GB, free: 28.56 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating_res.mat does not exist to compare? outputFormat=mat