Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.TimerNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",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.407/2.407, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001338/0.001337, allocations: 180.8 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.646/1.646, allocations: 221.3 MB / 0.7915 GB, free: 5.422 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.001153/0.001153, allocations: 91.94 kB / 0.9317 GB, free: 5.742 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.284e-05/4.309e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3168, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9197/1.237, allocations: 150.3 MB / 1.366 GB, free: 3.668 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/1.237, allocations: 70.45 kB / 1.366 GB, free: 3.629 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006314/1.243, allocations: 2.087 MB / 1.368 GB, free: 1.809 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.142e-06/1.243, allocations: 0 / 1.368 GB, free: 1.809 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.036e-05/1.243, allocations: 0 / 1.368 GB, free: 1.809 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005241/1.244, allocations: 410.4 kB / 1.368 GB, free: 1.367 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/1.244, allocations: 8.031 kB / 1.368 GB, free: 1.359 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.338e-05/1.244, allocations: 41.17 kB / 1.368 GB, free: 1.312 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/1.244, allocations: 11.95 kB / 1.368 GB, free: 1.301 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/1.244, allocations: 159.1 kB / 1.368 GB, free: 1.105 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/1.244, allocations: 10.69 kB / 1.368 GB, free: 1.098 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/1.244, allocations: 15.98 kB / 1.368 GB, free: 1.082 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/1.244, allocations: 80.84 kB / 1.368 GB, free: 1.012 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/1.244, allocations: 3.938 kB / 1.368 GB, free: 1.008 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/1.244, allocations: 7.984 kB / 1.368 GB, free: 1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/1.244, allocations: 0 / 1.368 GB, free: 1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.245e-05/1.245, allocations: 41.55 kB / 1.369 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007128/1.245, allocations: 379.5 kB / 1.369 GB, free: 0.5859 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/1.245, allocations: 97.03 kB / 1.369 GB, free: 0.5078 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.944e-05/1.246, allocations: 41.34 kB / 1.369 GB, free: 488 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/1.246, allocations: 4 kB / 1.369 GB, free: 484 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002976/1.246, allocations: 125.4 kB / 1.369 GB, free: 364 kB / 0.823 GB Notification: Performance of pre-optimization done (n=13): time 2.534e-06/1.246, allocations: 0 / 1.369 GB, free: 364 kB / 0.823 GB Notification: Performance of matching and sorting (n=13): time 0.0003439/1.246, allocations: 168.6 kB / 1.369 GB, free: 216 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/1.246, allocations: 58.41 kB / 1.369 GB, free: 148 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.681e-05/1.246, allocations: 100.2 kB / 1.369 GB, free: 44 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/1.246, allocations: 36.02 kB / 1.37 GB, free: 8 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.921e-05/1.246, allocations: 92.05 kB / 1.37 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/1.247, allocations: 34.47 kB / 1.37 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.372e-05/1.247, allocations: 2.5 kB / 1.37 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001391/1.247, allocations: 322.4 kB / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/1.247, allocations: 49 kB / 1.37 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/1.247, allocations: 82.06 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/1.247, allocations: 83.11 kB / 1.37 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/1.247, allocations: 0 / 1.37 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003981/1.248, allocations: 209 kB / 1.37 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.85e-05/1.248, allocations: 41.56 kB / 1.37 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/1.248, allocations: 0 / 1.37 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/1.248, allocations: 8.078 kB / 1.37 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.699e-05/1.248, allocations: 15.94 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/1.248, allocations: 3.984 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/1.248, allocations: 43.88 kB / 1.37 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/1.248, allocations: 11.5 kB / 1.37 GB, free: 15.09 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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.0001113/1.248, allocations: 116.5 kB / 1.371 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/1.248, allocations: 15.84 kB / 1.371 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.532e-05/1.248, allocations: 12.44 kB / 1.371 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/1.248, allocations: 3.953 kB / 1.371 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/1.248, allocations: 4 kB / 1.371 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/1.248, allocations: 3.984 kB / 1.371 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004336/1.249, allocations: 428.6 kB / 1.371 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/1.249, allocations: 4 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.319e-05/1.249, allocations: 8 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/1.249, allocations: 0 / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/1.249, allocations: 15.44 kB / 1.371 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/1.249, allocations: 7.938 kB / 1.371 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/1.249, allocations: 0 / 1.371 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/1.249, allocations: 248.7 kB / 1.371 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.018e-05/1.249, allocations: 81.05 kB / 1.371 GB, free: 14.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/1.249, allocations: 15.67 kB / 1.371 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.815e-05/1.249, allocations: 7.953 kB / 1.371 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/1.249, allocations: 18.97 kB / 1.371 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/1.249, allocations: 7.984 kB / 1.371 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.088e-05/1.249, allocations: 87.72 kB / 1.371 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.543e-06/1.249, allocations: 0 / 1.371 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002749/1.25, allocations: 39.5 kB / 1.372 GB, free: 13.99 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: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0007381/1.25, allocations: 0.8111 MB / 1.372 GB, free: 13.19 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003377/1.251, allocations: 195.8 kB / 1.373 GB, free: 13.03 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.251, allocations: 0 / 1.373 GB, free: 13.03 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/1.251, allocations: 69.38 kB / 1.373 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/1.251, allocations: 20.62 kB / 1.373 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005225/1.252, allocations: 169.5 kB / 1.373 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/1.252, allocations: 0.6965 MB / 1.373 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.117e-05/1.252, allocations: 4.562 kB / 1.373 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.275e-05/1.252, allocations: 31.55 kB / 1.373 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/1.252, allocations: 0 / 1.373 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0156/1.268, allocations: 2.472 MB / 1.376 GB, free: 9.738 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/1.268, allocations: 176.1 kB / 1.376 GB, free: 9.516 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/2.818, allocations: 5.344 kB / 1.376 GB, free: 9.512 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat does not exist to compare? outputFormat=mat