Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_9_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_9_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",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.356/2.356, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001128/0.001128, allocations: 184.8 kB / 487.4 MB, free: 5.07 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.553/1.553, allocations: 221.5 MB / 0.7824 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009256/0.0009259, allocations: 95.89 kB / 0.9219 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.365e-05/1.368e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2433, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8406/1.084, allocations: 149.2 MB / 1.352 GB, free: 18.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001714/1.084, allocations: 68.67 kB / 1.352 GB, free: 18.05 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003992/1.088, allocations: 1.394 MB / 1.353 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.423e-06/1.088, allocations: 0 / 1.353 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.741e-06/1.088, allocations: 0 / 1.353 GB, free: 33.68 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003567/1.089, allocations: 363 kB / 1.354 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/1.089, allocations: 8.484 kB / 1.354 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/1.089, allocations: 3.875 kB / 1.354 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.112e-05/1.089, allocations: 172.3 kB / 1.354 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/1.089, allocations: 0 / 1.354 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/1.089, allocations: 4.641 kB / 1.354 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001056/1.089, allocations: 25.06 kB / 1.354 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.864e-05/1.089, allocations: 49.02 kB / 1.354 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/1.089, allocations: 0 / 1.354 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/1.089, allocations: 4.453 kB / 1.354 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/1.089, allocations: 0 / 1.354 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/1.089, allocations: 280.6 kB / 1.354 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.622e-05/1.089, allocations: 47.81 kB / 1.354 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.704e-05/1.09, allocations: 27.17 kB / 1.354 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/1.09, allocations: 0.5625 kB / 1.354 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/1.09, allocations: 74.5 kB / 1.354 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/1.09, allocations: 0 / 1.354 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.000146/1.09, allocations: 80.05 kB / 1.354 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/1.09, allocations: 56 kB / 1.354 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.085e-05/1.09, allocations: 102.8 kB / 1.354 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/1.09, allocations: 26.69 kB / 1.354 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.162e-05/1.09, allocations: 97.64 kB / 1.355 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/1.09, allocations: 20.45 kB / 1.355 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/1.09, allocations: 0 / 1.355 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001053/1.09, allocations: 312.8 kB / 1.355 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.477e-05/1.09, allocations: 17 kB / 1.355 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.692e-05/1.09, allocations: 41.84 kB / 1.355 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.405e-05/1.09, allocations: 21.11 kB / 1.355 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/1.09, allocations: 0 / 1.355 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001058/1.09, allocations: 86.61 kB / 1.355 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/1.09, allocations: 5.906 kB / 1.355 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/1.09, allocations: 32 / 1.355 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/1.09, allocations: 7.812 kB / 1.355 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.343e-05/1.09, allocations: 16.69 kB / 1.355 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/1.09, allocations: 0.7031 kB / 1.355 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.353e-05/1.091, allocations: 9.781 kB / 1.355 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/1.091, allocations: 7.734 kB / 1.355 GB, free: 32.03 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 7.111e-05/1.091, allocations: 101.5 kB / 1.355 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.377e-05/1.091, allocations: 85.36 kB / 1.355 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.335e-06/1.091, allocations: 3.875 kB / 1.355 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.504e-05/1.091, allocations: 9.344 kB / 1.355 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/1.091, allocations: 192 / 1.355 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.091, allocations: 4.578 kB / 1.355 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/1.091, allocations: 8.438 kB / 1.355 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/1.091, allocations: 328.6 kB / 1.356 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.091, allocations: 0 / 1.356 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.766e-05/1.091, allocations: 13.61 kB / 1.356 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/1.091, allocations: 0 / 1.356 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/1.091, allocations: 0.5625 kB / 1.356 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/1.091, allocations: 4.609 kB / 1.356 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.091, allocations: 0 / 1.356 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/1.091, allocations: 171.1 kB / 1.356 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.004e-05/1.091, allocations: 89.41 kB / 1.356 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/1.091, allocations: 1.078 kB / 1.356 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.14e-05/1.091, allocations: 10.28 kB / 1.356 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/1.091, allocations: 15.14 kB / 1.356 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/1.091, allocations: 3.938 kB / 1.356 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.872e-05/1.092, allocations: 79.84 kB / 1.356 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.092, allocations: 0 / 1.356 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002152/1.092, allocations: 12.23 kB / 1.356 GB, free: 31.26 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003882/1.092, allocations: 0.7108 MB / 1.357 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.839e-05/1.092, allocations: 46.84 kB / 1.357 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/1.092, allocations: 0 / 1.357 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.941e-05/1.092, allocations: 31.34 kB / 1.357 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/1.093, allocations: 10.84 kB / 1.357 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003467/1.093, allocations: 119.4 kB / 1.357 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/1.093, allocations: 0.6933 MB / 1.358 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.955e-05/1.093, allocations: 6.156 kB / 1.358 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/1.093, allocations: 18.98 kB / 1.358 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of SimCode: time 2.71e-07/1.093, allocations: 0 / 1.358 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/1.111, allocations: 1.166 MB / 1.359 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/1.112, allocations: 162 kB / 1.359 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.471/2.583, allocations: 8.438 kB / 1.359 GB, free: 29.48 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat does not exist to compare? outputFormat=mat