Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.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.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Examples_ModelTime",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 1.95/1.95, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.0009584/0.0009584, allocations: 176.9 kB / 492.3 MB, free: 0.6172 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.247/1.247, allocations: 221.3 MB / 0.7872 GB, free: 12.96 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.0007872/0.0007872, allocations: 96.92 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.289e-05/2.291e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1927, allocations: 142.3 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6724/0.8652, allocations: 148.4 MB / 1.357 GB, free: 19.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001807/0.8654, allocations: 70.8 kB / 1.358 GB, free: 19.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0008621/0.8663, allocations: 373.8 kB / 1.358 GB, free: 34.79 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8663, allocations: 0 / 1.358 GB, free: 34.79 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.8663, allocations: 0 / 1.358 GB, free: 34.79 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001732/0.8665, allocations: 309.9 kB / 1.358 GB, free: 34.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.8665, allocations: 11.69 kB / 1.358 GB, free: 34.45 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.959e-05/0.8666, allocations: 34.5 kB / 1.358 GB, free: 34.41 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.786e-05/0.8666, allocations: 0 / 1.358 GB, free: 34.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.055e-05/0.8667, allocations: 167.7 kB / 1.358 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.223e-06/0.8667, allocations: 0 / 1.358 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-06/0.8667, allocations: 5.297 kB / 1.358 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.183e-05/0.8668, allocations: 25.7 kB / 1.358 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.8668, allocations: 4 kB / 1.358 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.8668, allocations: 3.984 kB / 1.358 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-06/0.8668, allocations: 0 / 1.358 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.563e-05/0.8668, allocations: 3.844 kB / 1.358 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.828e-05/0.8669, allocations: 147.1 kB / 1.359 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 2.609e-05/0.8669, allocations: 22.2 kB / 1.359 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.819e-05/0.867, allocations: 11.52 kB / 1.359 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.682e-06/0.867, allocations: 4 kB / 1.359 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.156e-05/0.867, allocations: 30.56 kB / 1.359 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.867, allocations: 3.906 kB / 1.359 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 8.858e-05/0.8671, allocations: 29.64 kB / 1.359 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.8671, allocations: 60.53 kB / 1.359 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.371e-05/0.8672, allocations: 85 kB / 1.359 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.971e-06/0.8672, allocations: 25.7 kB / 1.359 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.954e-05/0.8672, allocations: 80.14 kB / 1.359 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.8672, allocations: 4.812 kB / 1.359 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.653e-06/0.8672, allocations: 0 / 1.359 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.953e-05/0.8673, allocations: 312.6 kB / 1.359 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.793e-06/0.8673, allocations: 5 kB / 1.359 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.569e-06/0.8673, allocations: 3.938 kB / 1.359 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.344e-05/0.8674, allocations: 0 / 1.359 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.8674, allocations: 3.953 kB / 1.359 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.308e-05/0.8674, allocations: 37.83 kB / 1.359 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.8674, allocations: 8.844 kB / 1.359 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.8674, allocations: 0 / 1.359 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.8675, allocations: 0 / 1.359 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.881e-05/0.8675, allocations: 3.719 kB / 1.359 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.8675, allocations: 5.344 kB / 1.359 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.076e-05/0.8675, allocations: 8.047 kB / 1.359 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.8676, allocations: 3.125 kB / 1.359 GB, free: 33.23 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.008e-05/0.8676, allocations: 101 kB / 1.359 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-06/0.8676, allocations: 7.766 kB / 1.359 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.674e-05/0.8676, allocations: 8.484 kB / 1.359 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.8676, allocations: 0 / 1.359 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.8677, allocations: 0 / 1.359 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.8677, allocations: 0 / 1.359 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.368e-05/0.8677, allocations: 143.1 kB / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.8677, allocations: 1.828 kB / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.12e-05/0.8677, allocations: 7.828 kB / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.8678, allocations: 0 / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-06/0.8678, allocations: 0 / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.8678, allocations: 0 / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.8678, allocations: 0 / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.954e-05/0.8678, allocations: 61.28 kB / 1.36 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.629e-05/0.8679, allocations: 82.22 kB / 1.36 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.8679, allocations: 3.953 kB / 1.36 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.743e-06/0.8679, allocations: 7.5 kB / 1.36 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.282e-05/0.8679, allocations: 5.188 kB / 1.36 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-06/0.8679, allocations: 0 / 1.36 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.498e-05/0.8679, allocations: 75.28 kB / 1.36 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1e-07/0.8679, allocations: 4.031 kB / 1.36 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001743/0.8681, allocations: 0 / 1.36 GB, free: 32.68 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0002463/0.8684, allocations: 0.5851 MB / 1.36 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.548e-05/0.8684, allocations: 3.844 kB / 1.36 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.8684, allocations: 8.031 kB / 1.36 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.621e-06/0.8684, allocations: 3.875 kB / 1.36 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.791e-05/0.8685, allocations: 5.938 kB / 1.36 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002125/0.8688, allocations: 71.7 kB / 1.36 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.869, allocations: 0.6756 MB / 1.361 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.245e-05/0.869, allocations: 0 / 1.361 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.514e-05/0.869, allocations: 11.38 kB / 1.361 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of SimCode: time 2.11e-07/0.869, allocations: 0 / 1.361 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01569/0.8847, allocations: 0.6824 MB / 1.362 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000128/0.8849, allocations: 155.7 kB / 1.362 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.306/2.191, allocations: 4 kB / 1.362 GB, free: 30.9 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Examples.ModelTime_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Time.Examples.ModelTime_res.mat does not exist to compare? outputFormat=mat