Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",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.94/1.94, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.0009423/0.0009423, allocations: 176.1 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.227/1.227, allocations: 221.3 MB / 0.7915 GB, free: 5.418 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.0007972/0.0007973, allocations: 99.88 kB / 0.9317 GB, free: 5.727 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.252e-05/2.254e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1952, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6505/0.8458, allocations: 151.7 MB / 1.367 GB, free: 2.359 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.846, allocations: 79.3 kB / 1.367 GB, free: 2.316 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007709/0.8538, allocations: 2.703 MB / 1.37 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8538, allocations: 3.938 kB / 1.37 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.8538, allocations: 0 / 1.37 GB, free: 15.98 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002983/0.8541, allocations: 357.1 kB / 1.37 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.8541, allocations: 12.03 kB / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.248e-05/0.8542, allocations: 37.19 kB / 1.37 GB, free: 15.53 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.618e-05/0.8542, allocations: 3.953 kB / 1.37 GB, free: 15.53 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.649e-05/0.8543, allocations: 167.8 kB / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.878e-05/0.8544, allocations: 32.33 kB / 1.37 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.8544, allocations: 0 / 1.37 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.784e-05/0.8545, allocations: 40.06 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.8545, allocations: 0 / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.8545, allocations: 2.75 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.8545, allocations: 4 kB / 1.37 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.846e-05/0.8546, allocations: 18.95 kB / 1.37 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.8547, allocations: 156.1 kB / 1.37 GB, free: 15.03 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.8549, allocations: 47.98 kB / 1.371 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.616e-05/0.8549, allocations: 15.67 kB / 1.371 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002248/0.8551, allocations: 178.3 kB / 1.371 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.8552, allocations: 34.56 kB / 1.371 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.8552, allocations: 0 / 1.371 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001106/0.8553, allocations: 52.45 kB / 1.371 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.8553, allocations: 55.39 kB / 1.371 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.995e-05/0.8554, allocations: 96.97 kB / 1.371 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.8554, allocations: 25.7 kB / 1.371 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.999e-05/0.8554, allocations: 83.7 kB / 1.371 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.8555, allocations: 15.75 kB / 1.371 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-06/0.8555, allocations: 4 kB / 1.371 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.475e-05/0.8556, allocations: 317 kB / 1.371 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.8556, allocations: 4 kB / 1.371 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.381e-05/0.8556, allocations: 11.42 kB / 1.371 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.177e-05/0.8556, allocations: 4 kB / 1.371 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.8557, allocations: 0 / 1.371 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.97e-05/0.8557, allocations: 52.5 kB / 1.371 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.8557, allocations: 4 kB / 1.371 GB, free: 13.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.8558, allocations: 7.938 kB / 1.371 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.8558, allocations: 8 kB / 1.371 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.08e-05/0.8558, allocations: 4 kB / 1.371 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.8558, allocations: 3.938 kB / 1.371 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.071e-05/0.8559, allocations: 7.984 kB / 1.371 GB, free: 13.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-06/0.8559, allocations: 0 / 1.371 GB, free: 13.94 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 (4): * Single equations (assignments): 4 * 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.916e-05/0.8559, allocations: 108.2 kB / 1.372 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-06/0.856, allocations: 4 kB / 1.372 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.8561, allocations: 56.12 kB / 1.372 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.8561, allocations: 4 kB / 1.372 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.8561, allocations: 0 / 1.372 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.8561, allocations: 3.984 kB / 1.372 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.808e-05/0.8562, allocations: 167.6 kB / 1.372 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.8562, allocations: 4 kB / 1.372 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.478e-05/0.8563, allocations: 4 kB / 1.372 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.8563, allocations: 3.938 kB / 1.372 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.8563, allocations: 0 / 1.372 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.8563, allocations: 4 kB / 1.372 GB, free: 13.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.8563, allocations: 0 / 1.372 GB, free: 13.54 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.972e-05/0.8564, allocations: 79.27 kB / 1.372 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.8564, allocations: 84.22 kB / 1.372 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.8565, allocations: 4 kB / 1.372 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.37e-05/0.8565, allocations: 0.5625 kB / 1.372 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.8565, allocations: 7.984 kB / 1.372 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.8565, allocations: 0 / 1.372 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.284e-05/0.8566, allocations: 82.64 kB / 1.372 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8566, allocations: 0 / 1.372 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001972/0.8568, allocations: 39.94 kB / 1.372 GB, free: 13.23 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 (4): * Single equations (assignments): 4 * 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.0003936/0.8572, allocations: 0.6582 MB / 1.373 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.65e-05/0.8573, allocations: 23.33 kB / 1.373 GB, free: 12.53 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.8573, allocations: 0 / 1.373 GB, free: 12.53 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.361e-05/0.8573, allocations: 19.12 kB / 1.373 GB, free: 12.51 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.8574, allocations: 10.53 kB / 1.373 GB, free: 12.51 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002425/0.8577, allocations: 114.3 kB / 1.373 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.8579, allocations: 0.677 MB / 1.374 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.338e-05/0.8579, allocations: 11.98 kB / 1.374 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/0.858, allocations: 11.44 kB / 1.374 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/0.858, allocations: 0 / 1.374 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01135/0.8693, allocations: 1.626 MB / 1.375 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/0.8696, allocations: 168.8 kB / 1.375 GB, free: 9.938 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.53/2.4, allocations: 0 / 1.375 GB, free: 9.938 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat does not exist to compare? outputFormat=mat