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 1.935/1.935, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.0009369/0.0009369, allocations: 172.8 kB / 496.1 MB, free: 12.88 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.215/1.215, allocations: 221.3 MB / 0.7915 GB, free: 5.359 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.0007967/0.0007967, allocations: 95.81 kB / 0.9317 GB, free: 5.676 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.214e-05/2.218e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1865, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.632/0.8186, allocations: 149.2 MB / 1.365 GB, free: 4.789 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001732/0.8188, allocations: 69.52 kB / 1.365 GB, free: 4.75 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0003638/0.8191, allocations: 371.2 kB / 1.365 GB, free: 4.391 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8192, allocations: 0 / 1.365 GB, free: 4.391 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.8192, allocations: 3.219 kB / 1.365 GB, free: 4.391 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000192/0.8194, allocations: 311.1 kB / 1.365 GB, free: 4.047 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.8194, allocations: 8.031 kB / 1.365 GB, free: 4.039 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.416e-05/0.8195, allocations: 34.12 kB / 1.365 GB, free: 4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.568e-05/0.8195, allocations: 0 / 1.365 GB, free: 4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.737e-05/0.8196, allocations: 174.4 kB / 1.366 GB, free: 3.793 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.8196, allocations: 0 / 1.366 GB, free: 3.793 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.8196, allocations: 7.984 kB / 1.366 GB, free: 3.785 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.778e-05/0.8197, allocations: 29.69 kB / 1.366 GB, free: 3.75 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.8197, allocations: 0 / 1.366 GB, free: 3.75 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-06/0.8197, allocations: 0 / 1.366 GB, free: 3.75 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.8197, allocations: 0 / 1.366 GB, free: 3.75 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.391e-05/0.8197, allocations: 4 kB / 1.366 GB, free: 3.746 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001086/0.8198, allocations: 149.6 kB / 1.366 GB, free: 3.555 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.111e-05/0.8199, allocations: 22.55 kB / 1.366 GB, free: 3.523 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.742e-05/0.8199, allocations: 8.859 kB / 1.366 GB, free: 3.512 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.889e-06/0.8199, allocations: 0 / 1.366 GB, free: 3.512 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.8199, allocations: 38.44 kB / 1.366 GB, free: 3.469 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.8199, allocations: 0 / 1.366 GB, free: 3.469 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 8.938e-05/0.82, allocations: 33.69 kB / 1.366 GB, free: 3.43 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.8201, allocations: 51.41 kB / 1.366 GB, free: 3.367 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.302e-05/0.8201, allocations: 90.91 kB / 1.366 GB, free: 3.273 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.216e-06/0.8201, allocations: 29.73 kB / 1.366 GB, free: 3.238 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.966e-05/0.8201, allocations: 80.14 kB / 1.366 GB, free: 3.156 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.8202, allocations: 0.7812 kB / 1.366 GB, free: 3.156 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.393e-06/0.8202, allocations: 0 / 1.366 GB, free: 3.156 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.251e-05/0.8203, allocations: 314.8 kB / 1.366 GB, free: 2.84 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.775e-06/0.8203, allocations: 7.938 kB / 1.366 GB, free: 2.832 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.689e-06/0.8203, allocations: 3.5 kB / 1.366 GB, free: 2.832 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.185e-05/0.8203, allocations: 0 / 1.366 GB, free: 2.832 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.8203, allocations: 4.062 kB / 1.366 GB, free: 2.828 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.384e-05/0.8203, allocations: 37.69 kB / 1.366 GB, free: 2.785 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.8204, allocations: 4 kB / 1.366 GB, free: 2.781 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.8204, allocations: 0 / 1.366 GB, free: 2.781 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.8204, allocations: 0 / 1.366 GB, free: 2.781 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.542e-05/0.8204, allocations: 4 kB / 1.366 GB, free: 2.777 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.8204, allocations: 0 / 1.366 GB, free: 2.777 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.596e-06/0.8205, allocations: 2.391 kB / 1.366 GB, free: 2.777 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.8205, allocations: 0 / 1.366 GB, free: 2.777 MB / 0.823 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.028e-05/0.8205, allocations: 110.5 kB / 1.366 GB, free: 2.664 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-06/0.8205, allocations: 0 / 1.366 GB, free: 2.664 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.36e-05/0.8206, allocations: 3.125 kB / 1.366 GB, free: 2.664 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.8206, allocations: 4 kB / 1.367 GB, free: 2.66 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.8206, allocations: 3.938 kB / 1.367 GB, free: 2.656 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-06/0.8206, allocations: 0 / 1.367 GB, free: 2.656 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.712e-05/0.8206, allocations: 153.4 kB / 1.367 GB, free: 2.461 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.8207, allocations: 0 / 1.367 GB, free: 2.461 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.076e-05/0.8207, allocations: 7.938 kB / 1.367 GB, free: 2.453 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.8207, allocations: 0 / 1.367 GB, free: 2.453 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.359e-06/0.8207, allocations: 0 / 1.367 GB, free: 2.453 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.8207, allocations: 7.562 kB / 1.367 GB, free: 2.449 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8207, allocations: 0 / 1.367 GB, free: 2.449 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.626e-05/0.8208, allocations: 60.28 kB / 1.367 GB, free: 2.375 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.517e-05/0.8208, allocations: 85.06 kB / 1.367 GB, free: 2.273 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.644e-06/0.8208, allocations: 0 / 1.367 GB, free: 2.273 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.29e-06/0.8208, allocations: 0 / 1.367 GB, free: 2.273 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.654e-06/0.8208, allocations: 0 / 1.367 GB, free: 2.273 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-06/0.8208, allocations: 4.031 kB / 1.367 GB, free: 2.27 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.995e-05/0.8209, allocations: 75.28 kB / 1.367 GB, free: 2.195 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8209, allocations: 0 / 1.367 GB, free: 2.195 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001489/0.821, allocations: 4 kB / 1.367 GB, free: 2.191 MB / 0.823 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.0002369/0.8213, allocations: 0.5884 MB / 1.367 GB, free: 1.574 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 4.319e-05/0.8213, allocations: 8.031 kB / 1.367 GB, free: 1.566 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.8213, allocations: 3.938 kB / 1.367 GB, free: 1.562 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.584e-06/0.8213, allocations: 7.938 kB / 1.367 GB, free: 1.555 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.099e-05/0.8214, allocations: 3.562 kB / 1.367 GB, free: 1.555 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001942/0.8216, allocations: 74.64 kB / 1.368 GB, free: 1.445 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.8218, allocations: 0.6731 MB / 1.368 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 1.069e-05/0.8218, allocations: 0 / 1.368 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.785e-05/0.8218, allocations: 7.438 kB / 1.368 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of SimCode: time 3.11e-07/0.8218, allocations: 4.125 kB / 1.368 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009113/0.8309, allocations: 0.6949 MB / 1.369 GB, free: 164 kB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/0.8312, allocations: 151.2 kB / 1.369 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.348/2.179, allocations: 3.938 kB / 1.369 GB, free: 15.93 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