Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.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.Examples.Phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_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.945/1.945, allocations: 390.3 MB / 402.8 MB, free: 6.676 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.0009665/0.0009664, allocations: 180.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.213/1.213, 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.0007861/0.0007861, allocations: 91.77 kB / 0.9317 GB, free: 5.727 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.612e-05/2.623e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6771/0.8772, allocations: 152 MB / 1.367 GB, free: 2.066 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.8774, allocations: 75.58 kB / 1.367 GB, free: 2.027 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007694/0.8851, allocations: 2.552 MB / 1.37 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.143e-06/0.8852, allocations: 0 / 1.37 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.8852, allocations: 0 / 1.37 GB, free: 15.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004329/0.8856, allocations: 398.3 kB / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.8857, allocations: 8.031 kB / 1.37 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.473e-05/0.8857, allocations: 37.31 kB / 1.37 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.8857, allocations: 11.8 kB / 1.37 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.8858, allocations: 167 kB / 1.37 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.8859, allocations: 7.25 kB / 1.37 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.8859, allocations: 4 kB / 1.37 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.886, allocations: 48.56 kB / 1.37 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.886, allocations: 0 / 1.37 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.886, allocations: 0 / 1.37 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.886, allocations: 4 kB / 1.37 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.779e-05/0.8861, allocations: 25.06 kB / 1.371 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003391/0.8865, allocations: 292.2 kB / 1.371 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.839e-05/0.8865, allocations: 29.02 kB / 1.371 GB, free: 14.67 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.418e-05/0.8866, allocations: 16.2 kB / 1.371 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001588/0.8867, allocations: 101.9 kB / 1.371 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.8868, allocations: 30.56 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.8868, allocations: 0 / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001499/0.8869, allocations: 59.62 kB / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.887, allocations: 55.41 kB / 1.371 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.277e-05/0.8871, allocations: 110.5 kB / 1.371 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.8871, allocations: 25.7 kB / 1.371 GB, free: 14.24 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.986e-05/0.8871, allocations: 86.83 kB / 1.371 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.8872, allocations: 15.83 kB / 1.371 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.8872, allocations: 0 / 1.371 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.8873, allocations: 313.8 kB / 1.372 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.311e-05/0.8873, allocations: 7.188 kB / 1.372 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.382e-05/0.8873, allocations: 15.06 kB / 1.372 GB, free: 13.81 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.276e-05/0.8874, allocations: 11.38 kB / 1.372 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.8874, allocations: 0 / 1.372 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.781e-05/0.8875, allocations: 55.78 kB / 1.372 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.8875, allocations: 5.094 kB / 1.372 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.8875, allocations: 0 / 1.372 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.8875, allocations: 0 / 1.372 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.8876, allocations: 27.92 kB / 1.372 GB, free: 13.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.8877, allocations: 4 kB / 1.372 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.51e-05/0.8878, allocations: 19.42 kB / 1.372 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.8878, allocations: 4 kB / 1.372 GB, free: 13.7 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 (3): * Single equations (assignments): 3 * 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 6.231e-05/0.8878, allocations: 104.9 kB / 1.372 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.8879, allocations: 7.906 kB / 1.372 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.888, allocations: 64.72 kB / 1.372 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.888, allocations: 7.938 kB / 1.372 GB, free: 13.51 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.888, allocations: 7.953 kB / 1.372 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.888, allocations: 0 / 1.372 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.8882, allocations: 168.9 kB / 1.372 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.8882, allocations: 4 kB / 1.372 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.895e-05/0.8883, allocations: 19.98 kB / 1.372 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.8883, allocations: 0 / 1.372 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.8883, allocations: 0 / 1.372 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.8883, allocations: 4 kB / 1.372 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.8883, allocations: 0 / 1.372 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.8885, allocations: 157.3 kB / 1.372 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.189e-05/0.8885, allocations: 81.02 kB / 1.372 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.8885, allocations: 3.984 kB / 1.372 GB, free: 13 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.8886, allocations: 15.98 kB / 1.372 GB, free: 12.99 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.8887, allocations: 10.94 kB / 1.372 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.8887, allocations: 0 / 1.372 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.875e-05/0.8888, allocations: 93.22 kB / 1.372 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8888, allocations: 0 / 1.372 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002187/0.889, allocations: 38.7 kB / 1.372 GB, free: 12.86 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 (3): * Single equations (assignments): 3 * 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.0004584/0.8894, allocations: 0.7258 MB / 1.373 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.21e-05/0.8895, allocations: 22.94 kB / 1.373 GB, free: 12.1 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.8895, allocations: 0 / 1.373 GB, free: 12.1 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.027e-05/0.8896, allocations: 13.88 kB / 1.373 GB, free: 12.09 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.8897, allocations: 12.69 kB / 1.373 GB, free: 12.09 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003384/0.8901, allocations: 136.5 kB / 1.373 GB, free: 11.92 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.8903, allocations: 0.6887 MB / 1.374 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.435e-05/0.8904, allocations: 7.984 kB / 1.374 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.484e-05/0.8904, allocations: 10.56 kB / 1.374 GB, free: 11.19 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/0.8904, allocations: 0 / 1.374 GB, free: 11.19 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01151/0.9019, allocations: 2.023 MB / 1.376 GB, free: 9.309 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/0.9022, allocations: 161.6 kB / 1.376 GB, free: 9.082 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.574/2.477, allocations: 0 / 1.376 GB, free: 9.082 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat does not exist to compare? outputFormat=mat