Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.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.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.191/2.191, allocations: 387.4 MB / 394.9 MB, free: 13.33 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.001414/0.001414, allocations: 184.8 kB / 487.4 MB, free: 5.043 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.624/1.624, allocations: 221.5 MB / 0.7824 GB, free: 1.035 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008671/0.000867, allocations: 99.89 kB / 0.9219 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.038e-05/2.041e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2694, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9413/1.211, allocations: 150.5 MB / 1.353 GB, free: 18.17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001895/1.211, allocations: 74.91 kB / 1.353 GB, free: 18.17 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008432/1.219, allocations: 2.538 MB / 1.356 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.603e-06/1.22, allocations: 0 / 1.356 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.614e-06/1.22, allocations: 4 kB / 1.356 GB, free: 33.72 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.0004841/1.22, allocations: 389.7 kB / 1.356 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/1.22, allocations: 11.53 kB / 1.356 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/1.22, allocations: 3.875 kB / 1.356 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/1.22, allocations: 172.2 kB / 1.356 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/1.22, allocations: 7.812 kB / 1.356 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/1.22, allocations: 3.938 kB / 1.356 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.881e-05/1.22, allocations: 25.88 kB / 1.356 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.719e-05/1.22, allocations: 45.11 kB / 1.356 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/1.22, allocations: 2.75 kB / 1.356 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/1.22, allocations: 0 / 1.356 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/1.22, allocations: 3.812 kB / 1.356 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/1.221, allocations: 260.5 kB / 1.356 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.479e-05/1.221, allocations: 30.86 kB / 1.356 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.706e-05/1.221, allocations: 19.39 kB / 1.357 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001442/1.221, allocations: 89.12 kB / 1.357 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/1.221, allocations: 30.56 kB / 1.357 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 2.094e-06/1.221, allocations: 7.875 kB / 1.357 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0003355/1.221, allocations: 71.3 kB / 1.357 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.689e-05/1.221, allocations: 55.53 kB / 1.357 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.098e-05/1.222, allocations: 107.4 kB / 1.357 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/1.222, allocations: 29.64 kB / 1.357 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.758e-05/1.222, allocations: 85.34 kB / 1.357 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/1.222, allocations: 12.34 kB / 1.357 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/1.222, allocations: 0 / 1.357 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001297/1.222, allocations: 315.5 kB / 1.357 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.175e-05/1.222, allocations: 11.5 kB / 1.357 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.723e-05/1.222, allocations: 11.66 kB / 1.357 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/1.222, allocations: 28.72 kB / 1.357 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.222, allocations: 0.7031 kB / 1.357 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002292/1.222, allocations: 78.55 kB / 1.357 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/1.222, allocations: 10.08 kB / 1.357 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/1.222, allocations: 0 / 1.357 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/1.222, allocations: 0 / 1.357 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/1.222, allocations: 24.81 kB / 1.357 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/1.222, allocations: 0 / 1.357 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.665e-05/1.223, allocations: 16.31 kB / 1.357 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/1.223, allocations: 5.781 kB / 1.357 GB, free: 32.02 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.272e-05/1.223, allocations: 110.6 kB / 1.358 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002376/1.223, allocations: 82.33 kB / 1.358 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/1.223, allocations: 4.641 kB / 1.358 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/1.223, allocations: 84.44 kB / 1.358 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/1.223, allocations: 0 / 1.358 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.223, allocations: 8.688 kB / 1.358 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/1.223, allocations: 0 / 1.358 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/1.223, allocations: 146.2 kB / 1.358 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/1.223, allocations: 0 / 1.358 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/1.223, allocations: 28.72 kB / 1.358 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/1.223, allocations: 0.6562 kB / 1.358 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/1.224, allocations: 4.75 kB / 1.358 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/1.224, allocations: 3.875 kB / 1.358 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.224, allocations: 1.484 kB / 1.358 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/1.224, allocations: 175.9 kB / 1.358 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.863e-05/1.224, allocations: 77.72 kB / 1.358 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/1.224, allocations: 8.5 kB / 1.358 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/1.224, allocations: 20.03 kB / 1.358 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/1.224, allocations: 2.766 kB / 1.358 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/1.224, allocations: 0 / 1.358 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.754e-05/1.224, allocations: 87.98 kB / 1.358 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.224, allocations: 0 / 1.358 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002488/1.224, allocations: 35.55 kB / 1.358 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 (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.0005796/1.225, allocations: 0.7482 MB / 1.359 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.991e-05/1.225, allocations: 19.89 kB / 1.359 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.225, allocations: 0 / 1.359 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.616e-05/1.225, allocations: 15.34 kB / 1.359 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/1.225, allocations: 9.375 kB / 1.359 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003276/1.226, allocations: 118.5 kB / 1.359 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/1.226, allocations: 0.687 MB / 1.36 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.368e-05/1.226, allocations: 4.547 kB / 1.36 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.823e-05/1.226, allocations: 20 kB / 1.36 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.226, allocations: 0 / 1.36 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01857/1.244, allocations: 1.594 MB / 1.361 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/1.245, allocations: 142.5 kB / 1.362 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/2.806, allocations: 0 / 1.362 GB, free: 29.52 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat does not exist to compare? outputFormat=mat