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 2.052/2.052, allocations: 390.5 MB / 398 MB, free: 10.9 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.0009805/0.0009805, allocations: 180.3 kB / 491.2 MB, free: 1.547 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.243/1.243, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.0008244/0.0008246, allocations: 95.83 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.387e-05/1.389e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2095, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6927/0.9023, allocations: 151.3 MB / 1.36 GB, free: 17.34 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001836/0.9025, allocations: 76.19 kB / 1.36 GB, free: 17.34 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007515/0.91, allocations: 2.535 MB / 1.363 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.132e-06/0.91, allocations: 0 / 1.363 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.9101, allocations: 4 kB / 1.363 GB, free: 32.89 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.0004228/0.9105, allocations: 393.6 kB / 1.363 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.9105, allocations: 7.656 kB / 1.363 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.282e-05/0.9106, allocations: 7.75 kB / 1.363 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.614e-05/0.9107, allocations: 170.8 kB / 1.363 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.9107, allocations: 4 kB / 1.363 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.9107, allocations: 3.844 kB / 1.363 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.882e-05/0.9108, allocations: 23.89 kB / 1.363 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.751e-05/0.9109, allocations: 47.08 kB / 1.363 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.9109, allocations: 0 / 1.363 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.9109, allocations: 0 / 1.363 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.9109, allocations: 0 / 1.363 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002936/0.9112, allocations: 264.3 kB / 1.364 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.883e-05/0.9113, allocations: 33.17 kB / 1.364 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.758e-05/0.9113, allocations: 16.14 kB / 1.364 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001405/0.9115, allocations: 93.98 kB / 1.364 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.9115, allocations: 31.44 kB / 1.364 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.9115, allocations: 0 / 1.364 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.00033/0.9118, allocations: 83.28 kB / 1.364 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.063e-05/0.9119, allocations: 55.36 kB / 1.364 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.776e-05/0.9119, allocations: 102.1 kB / 1.364 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.9119, allocations: 25.7 kB / 1.364 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.912, allocations: 88.94 kB / 1.364 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.912, allocations: 11.12 kB / 1.364 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.912, allocations: 0 / 1.364 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.804e-05/0.9121, allocations: 319.6 kB / 1.364 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.973e-05/0.9121, allocations: 11.22 kB / 1.364 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.548e-05/0.9122, allocations: 11.02 kB / 1.364 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.9123, allocations: 40.19 kB / 1.364 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.9124, allocations: 0 / 1.364 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002169/0.9126, allocations: 72.52 kB / 1.365 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.9126, allocations: 5.5 kB / 1.365 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.9126, allocations: 0 / 1.365 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.9126, allocations: 3.812 kB / 1.365 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.9128, allocations: 23.94 kB / 1.365 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.9128, allocations: 2.062 kB / 1.365 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.142e-05/0.9129, allocations: 22.42 kB / 1.365 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.9129, allocations: 0 / 1.365 GB, free: 31.19 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 5.536e-05/0.9129, allocations: 102.5 kB / 1.365 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002294/0.9132, allocations: 77.41 kB / 1.365 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.9132, allocations: 11.34 kB / 1.365 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.9134, allocations: 86.27 kB / 1.365 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.9135, allocations: 5.953 kB / 1.365 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.9135, allocations: 1.547 kB / 1.365 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.9135, allocations: 0 / 1.365 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.9136, allocations: 146.7 kB / 1.365 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9136, allocations: 0 / 1.365 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.972e-05/0.9137, allocations: 23.92 kB / 1.365 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.9137, allocations: 3.938 kB / 1.365 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.9137, allocations: 0 / 1.365 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.9137, allocations: 0 / 1.365 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.9137, allocations: 5.625 kB / 1.365 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.914, allocations: 171.6 kB / 1.365 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.927e-05/0.914, allocations: 83.61 kB / 1.365 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.914, allocations: 384 / 1.365 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.9142, allocations: 21.67 kB / 1.365 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.9142, allocations: 1.734 kB / 1.365 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.9142, allocations: 4.656 kB / 1.365 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.033e-05/0.9143, allocations: 88.41 kB / 1.365 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9143, allocations: 0 / 1.365 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002403/0.9145, allocations: 43.2 kB / 1.365 GB, free: 30.5 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.0005706/0.9151, allocations: 0.7407 MB / 1.366 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.495e-05/0.9152, allocations: 27.12 kB / 1.366 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.9152, allocations: 0 / 1.366 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.414e-05/0.9152, allocations: 10.88 kB / 1.366 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.9154, allocations: 10.5 kB / 1.366 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003125/0.9157, allocations: 126.6 kB / 1.366 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.9159, allocations: 0.6876 MB / 1.367 GB, free: 29 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.107e-05/0.9159, allocations: 3.938 kB / 1.367 GB, free: 29 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.916, allocations: 16.55 kB / 1.367 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/0.916, allocations: 0 / 1.367 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01821/0.9342, allocations: 1.597 MB / 1.369 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000132/0.9344, allocations: 147.2 kB / 1.369 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.415/2.349, allocations: 0 / 1.369 GB, free: 28.69 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