Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.268/2.268, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001585/0.001585, allocations: 176.7 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 221.3 MB / 0.7915 GB, free: 5.41 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.0008578/0.0008578, allocations: 91.97 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.478e-05/3.491e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2376, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8474/1.085, allocations: 150.4 MB / 1.366 GB, free: 3.676 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/1.085, allocations: 65.97 kB / 1.366 GB, free: 3.641 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01067/1.096, allocations: 3.378 MB / 1.369 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.613e-06/1.096, allocations: 0 / 1.369 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.117e-05/1.096, allocations: 4 kB / 1.369 GB, free: 0.6914 MB / 0.823 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.0007493/1.097, allocations: 464.8 kB / 1.37 GB, free: 200 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/1.097, allocations: 12.03 kB / 1.37 GB, free: 188 kB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.515e-05/1.097, allocations: 37.8 kB / 1.37 GB, free: 144 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.023e-05/1.097, allocations: 19.89 kB / 1.37 GB, free: 124 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/1.097, allocations: 182.9 kB / 1.37 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.01e-05/1.097, allocations: 11.5 kB / 1.37 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.154e-05/1.097, allocations: 19.98 kB / 1.37 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/1.098, allocations: 128 kB / 1.37 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/1.098, allocations: 4 kB / 1.37 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/1.098, allocations: 11.8 kB / 1.37 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/1.098, allocations: 0 / 1.37 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/1.098, allocations: 62.05 kB / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/1.099, allocations: 0.547 MB / 1.371 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/1.099, allocations: 159.2 kB / 1.371 GB, free: 15.03 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/1.1, allocations: 71.42 kB / 1.371 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/1.1, allocations: 0 / 1.371 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003477/1.1, allocations: 214.9 kB / 1.371 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.684e-06/1.1, allocations: 0 / 1.371 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22): time 0.0004812/1.1, allocations: 253.6 kB / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.432e-05/1.1, allocations: 91.41 kB / 1.371 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/1.101, allocations: 119.7 kB / 1.371 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.71e-05/1.101, allocations: 33.64 kB / 1.371 GB, free: 14.31 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.2e-05/1.101, allocations: 102.9 kB / 1.372 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.547e-05/1.101, allocations: 53.91 kB / 1.372 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.216e-05/1.101, allocations: 7.75 kB / 1.372 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.101, allocations: 325.4 kB / 1.372 GB, free: 13.85 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/1.101, allocations: 89.95 kB / 1.372 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/1.101, allocations: 148.6 kB / 1.372 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/1.102, allocations: 149.7 kB / 1.372 GB, free: 13.51 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/1.102, allocations: 0 / 1.372 GB, free: 13.51 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005996/1.102, allocations: 363.2 kB / 1.373 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.293e-05/1.102, allocations: 66.39 kB / 1.373 GB, free: 13.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/1.102, allocations: 4.219 kB / 1.373 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/1.102, allocations: 8 kB / 1.373 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/1.102, allocations: 18.75 kB / 1.373 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/1.102, allocations: 7.953 kB / 1.373 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004405/1.103, allocations: 90.95 kB / 1.373 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.053e-05/1.103, allocations: 23.48 kB / 1.373 GB, free: 12.99 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.0001371/1.103, allocations: 132.1 kB / 1.373 GB, free: 12.86 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/1.103, allocations: 15.89 kB / 1.373 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.978e-05/1.103, allocations: 15.38 kB / 1.373 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/1.103, allocations: 4 kB / 1.373 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.103, allocations: 0 / 1.373 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/1.103, allocations: 4.047 kB / 1.373 GB, free: 12.83 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006449/1.104, allocations: 0.6227 MB / 1.374 GB, free: 12.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/1.104, allocations: 0 / 1.374 GB, free: 12.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.638e-05/1.104, allocations: 10.67 kB / 1.374 GB, free: 12.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/1.104, allocations: 8 kB / 1.374 GB, free: 12.21 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/1.104, allocations: 7.625 kB / 1.374 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.866e-06/1.104, allocations: 7.938 kB / 1.374 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.104, allocations: 3.938 kB / 1.374 GB, free: 12.19 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004235/1.104, allocations: 425.1 kB / 1.374 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/1.105, allocations: 89 kB / 1.374 GB, free: 11.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/1.105, allocations: 15.2 kB / 1.374 GB, free: 11.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/1.105, allocations: 15.11 kB / 1.374 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/1.105, allocations: 23.83 kB / 1.374 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/1.105, allocations: 19.42 kB / 1.374 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.657e-05/1.105, allocations: 90.47 kB / 1.374 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.105, allocations: 0 / 1.374 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003778/1.105, allocations: 63.48 kB / 1.374 GB, free: 11.5 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.00091/1.106, allocations: 1.063 MB / 1.375 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005606/1.107, allocations: 344.2 kB / 1.376 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.107, allocations: 4.062 kB / 1.376 GB, free: 10.17 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/1.107, allocations: 121.8 kB / 1.376 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/1.107, allocations: 16.05 kB / 1.376 GB, free: 10.08 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006779/1.108, allocations: 251.1 kB / 1.376 GB, free: 9.836 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/1.108, allocations: 0.7168 MB / 1.377 GB, free: 9.094 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.583e-05/1.108, allocations: 13.48 kB / 1.377 GB, free: 9.078 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.573e-05/1.108, allocations: 35.17 kB / 1.377 GB, free: 9.062 MB / 0.8386 GB Notification: Performance of SimCode: time 6.31e-07/1.108, allocations: 0 / 1.377 GB, free: 9.062 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01573/1.124, allocations: 3.766 MB / 1.381 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002395/1.124, allocations: 165.6 kB / 1.381 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/2.8, allocations: 0 / 1.381 GB, free: 5.211 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat does not exist to compare? outputFormat=mat