Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.Timer,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",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.25/2.25, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001219/0.001219, allocations: 187.8 kB / 492.3 MB, free: 0.6094 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.587/1.587, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0008488/0.0008488, allocations: 100.9 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.409e-05/3.422e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2727, allocations: 142.4 MB / 1.213 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.104/1.376, allocations: 149.6 MB / 1.359 GB, free: 19.13 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/1.377, allocations: 71.78 kB / 1.359 GB, free: 19.13 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01077/1.388, allocations: 3.374 MB / 1.362 GB, free: 34.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.254e-06/1.388, allocations: 0 / 1.362 GB, free: 34.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.115e-05/1.388, allocations: 3.875 kB / 1.362 GB, free: 34.66 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006311/1.388, allocations: 461.4 kB / 1.362 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/1.388, allocations: 9.406 kB / 1.362 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.968e-05/1.388, allocations: 41.11 kB / 1.362 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.872e-05/1.389, allocations: 18.11 kB / 1.362 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/1.389, allocations: 185.6 kB / 1.363 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.413e-05/1.389, allocations: 11.23 kB / 1.363 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.292e-05/1.389, allocations: 24.47 kB / 1.363 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/1.389, allocations: 135.6 kB / 1.363 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/1.389, allocations: 0 / 1.363 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/1.389, allocations: 2.016 kB / 1.363 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/1.389, allocations: 3.906 kB / 1.363 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/1.389, allocations: 56.67 kB / 1.363 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008845/1.39, allocations: 0.5549 MB / 1.363 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/1.39, allocations: 161.5 kB / 1.364 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.03e-05/1.39, allocations: 62.39 kB / 1.364 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/1.39, allocations: 3.875 kB / 1.364 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003453/1.391, allocations: 216.3 kB / 1.364 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 2.976e-06/1.391, allocations: 0 / 1.364 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22): time 0.0004567/1.391, allocations: 250.8 kB / 1.364 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/1.391, allocations: 86.39 kB / 1.364 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/1.391, allocations: 119 kB / 1.364 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/1.392, allocations: 41.17 kB / 1.364 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.828e-05/1.392, allocations: 101.1 kB / 1.364 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/1.392, allocations: 45.42 kB / 1.364 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/1.392, allocations: 7.625 kB / 1.364 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.857e-05/1.392, allocations: 326.3 kB / 1.365 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/1.392, allocations: 89.11 kB / 1.365 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/1.392, allocations: 153 kB / 1.365 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/1.392, allocations: 144.1 kB / 1.365 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/1.392, allocations: 4 kB / 1.365 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005439/1.393, allocations: 371.7 kB / 1.365 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.094e-05/1.393, allocations: 69.78 kB / 1.366 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/1.393, allocations: 0 / 1.366 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/1.393, allocations: 3.875 kB / 1.366 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.715e-05/1.393, allocations: 18.78 kB / 1.366 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/1.393, allocations: 7.906 kB / 1.366 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004116/1.394, allocations: 107 kB / 1.366 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-05/1.394, allocations: 18.12 kB / 1.366 GB, free: 32.36 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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.0001351/1.394, allocations: 132.7 kB / 1.366 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/1.394, allocations: 16.78 kB / 1.366 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.149e-05/1.394, allocations: 16.31 kB / 1.366 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/1.394, allocations: 3.984 kB / 1.366 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/1.394, allocations: 3.844 kB / 1.366 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/1.394, allocations: 5.312 kB / 1.366 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006029/1.395, allocations: 0.6115 MB / 1.366 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.395, allocations: 0 / 1.366 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-05/1.395, allocations: 14.61 kB / 1.366 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/1.395, allocations: 0 / 1.366 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/1.395, allocations: 9.859 kB / 1.366 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.395, allocations: 0 / 1.366 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.395, allocations: 3.953 kB / 1.366 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004113/1.395, allocations: 429.9 kB / 1.367 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.327e-05/1.395, allocations: 88.73 kB / 1.367 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/1.395, allocations: 14.3 kB / 1.367 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/1.395, allocations: 20.55 kB / 1.367 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.83e-05/1.395, allocations: 27.19 kB / 1.367 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/1.395, allocations: 20.89 kB / 1.367 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.24e-05/1.395, allocations: 93.38 kB / 1.367 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.395, allocations: 0 / 1.367 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003792/1.396, allocations: 60.17 kB / 1.367 GB, free: 31.41 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0007939/1.397, allocations: 1.058 MB / 1.368 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004588/1.397, allocations: 351.5 kB / 1.369 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.397, allocations: 0 / 1.369 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/1.397, allocations: 115.4 kB / 1.369 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/1.398, allocations: 22.33 kB / 1.369 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006253/1.398, allocations: 268.2 kB / 1.369 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/1.399, allocations: 0.7069 MB / 1.37 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.809e-05/1.399, allocations: 16.14 kB / 1.37 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.657e-05/1.399, allocations: 38.19 kB / 1.37 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of SimCode: time 7.02e-07/1.399, allocations: 0 / 1.37 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/1.416, allocations: 3.75 MB / 1.373 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/1.416, allocations: 154.7 kB / 1.374 GB, free: 29 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.784/3.2, allocations: 0 / 1.374 GB, free: 29 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat does not exist to compare? outputFormat=mat