Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.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.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Examples_ModelTime",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.087/2.087, allocations: 390.5 MB / 398 MB, free: 10.96 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.0009843/0.0009843, allocations: 176.9 kB / 491.2 MB, free: 1.555 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.409/1.409, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.00165/0.00165, allocations: 96.61 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.706e-05/1.707e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2371, allocations: 143 MB / 1.212 GB, free: 39.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6994/0.9365, allocations: 148.6 MB / 1.357 GB, free: 17.68 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001958/0.9368, allocations: 66.06 kB / 1.358 GB, free: 17.68 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0007086/0.9375, allocations: 370 kB / 1.358 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9375, allocations: 3.75 kB / 1.358 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.9375, allocations: 0 / 1.358 GB, free: 33.37 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.0001559/0.9377, allocations: 307.7 kB / 1.358 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.9377, allocations: 12.5 kB / 1.358 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.102e-05/0.9378, allocations: 1.219 kB / 1.358 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.592e-05/0.9378, allocations: 164.8 kB / 1.358 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.9378, allocations: 0.75 kB / 1.358 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.38e-06/0.9379, allocations: 0 / 1.358 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.038e-05/0.9379, allocations: 5.531 kB / 1.358 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.41e-05/0.938, allocations: 30.2 kB / 1.358 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.3e-06/0.938, allocations: 0 / 1.358 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-06/0.938, allocations: 0.5312 kB / 1.358 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.938, allocations: 0 / 1.358 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.83e-05/0.9381, allocations: 138.8 kB / 1.359 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 2.353e-05/0.9381, allocations: 20.23 kB / 1.359 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.548e-05/0.9381, allocations: 8.109 kB / 1.359 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-06/0.9381, allocations: 7.656 kB / 1.359 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.225e-05/0.9381, allocations: 30.56 kB / 1.359 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.9381, allocations: 3.938 kB / 1.359 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 8.117e-05/0.9382, allocations: 35.09 kB / 1.359 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.617e-05/0.9383, allocations: 51.41 kB / 1.359 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.448e-05/0.9383, allocations: 85 kB / 1.359 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.47e-06/0.9383, allocations: 26.58 kB / 1.359 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 1.554e-05/0.9383, allocations: 80.14 kB / 1.359 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.9383, allocations: 0.7812 kB / 1.359 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.703e-06/0.9383, allocations: 0 / 1.359 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.535e-05/0.9384, allocations: 319.4 kB / 1.359 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.462e-06/0.9384, allocations: 4.031 kB / 1.359 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.258e-06/0.9384, allocations: 0 / 1.359 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.297e-05/0.9385, allocations: 0 / 1.359 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.9385, allocations: 1.969 kB / 1.359 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.081e-05/0.9385, allocations: 42.5 kB / 1.359 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.9385, allocations: 3.531 kB / 1.359 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.9385, allocations: 1.188 kB / 1.359 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.9386, allocations: 0 / 1.359 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.956e-05/0.9386, allocations: 4.406 kB / 1.359 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.9386, allocations: 4.094 kB / 1.359 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.969e-06/0.9386, allocations: 2.391 kB / 1.359 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-06/0.9386, allocations: 0 / 1.359 GB, free: 31.89 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.282e-05/0.9387, allocations: 103.6 kB / 1.359 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 2.744e-05/0.9387, allocations: 37.22 kB / 1.359 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-06/0.9387, allocations: 8.484 kB / 1.359 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.67e-05/0.9388, allocations: 3.75 kB / 1.359 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.9388, allocations: 0 / 1.359 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.9388, allocations: 2.875 kB / 1.359 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.9388, allocations: 8.016 kB / 1.359 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.281e-05/0.9388, allocations: 127.7 kB / 1.36 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.9388, allocations: 3.953 kB / 1.36 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.319e-05/0.9389, allocations: 5.484 kB / 1.36 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.9389, allocations: 0 / 1.36 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.9389, allocations: 0 / 1.36 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.9389, allocations: 3.938 kB / 1.36 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.9389, allocations: 3.875 kB / 1.36 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.967e-05/0.9389, allocations: 57.61 kB / 1.36 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.34e-05/0.939, allocations: 82.19 kB / 1.36 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.916e-06/0.939, allocations: 0 / 1.36 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.312e-06/0.939, allocations: 0 / 1.36 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.348e-05/0.939, allocations: 5.156 kB / 1.36 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-06/0.939, allocations: 3.938 kB / 1.36 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 1.998e-05/0.939, allocations: 75.28 kB / 1.36 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.11e-07/0.939, allocations: 0 / 1.36 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001835/0.9392, allocations: 0 / 1.36 GB, free: 31.33 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.000191/0.9394, allocations: 0.5948 MB / 1.36 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.028e-05/0.9395, allocations: 3.844 kB / 1.36 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.9395, allocations: 0 / 1.36 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.568e-06/0.9395, allocations: 1.359 kB / 1.36 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.727e-05/0.9396, allocations: 9.953 kB / 1.36 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001796/0.9398, allocations: 69.64 kB / 1.36 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001636/0.9399, allocations: 0.6707 MB / 1.361 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.163e-05/0.9399, allocations: 0.7969 kB / 1.361 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.16e-05/0.94, allocations: 11.28 kB / 1.361 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/0.94, allocations: 0 / 1.361 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/0.9559, allocations: 411.5 kB / 1.361 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001036/0.9561, allocations: 130.3 kB / 1.362 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.346/2.302, allocations: 0 / 1.362 GB, free: 29.71 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat does not exist to compare? outputFormat=mat