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 2.274/2.274, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001144/0.001144, allocations: 178.9 kB / 0.4901 GB, free: 2.238 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.623/1.623, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.0009549/0.0009547, allocations: 104.2 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003916/0.000392, allocations: 10.66 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.353, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2045/0.5575, allocations: 151.7 MB / 1.377 GB, free: 1.773 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/0.5579, allocations: 91.88 kB / 1.378 GB, free: 1.684 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009281/0.5672, allocations: 2.715 MB / 1.38 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.534e-06/0.5672, allocations: 0 / 1.38 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.5673, allocations: 0 / 1.38 GB, free: 14.96 MB / 0.8855 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.0004846/0.5678, allocations: 371.2 kB / 1.381 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.5678, allocations: 8.562 kB / 1.381 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.231e-05/0.5679, allocations: 34.56 kB / 1.381 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.442e-05/0.5679, allocations: 15.84 kB / 1.381 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.5681, allocations: 163 kB / 1.381 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.696e-05/0.5682, allocations: 29.7 kB / 1.381 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.5682, allocations: 4 kB / 1.381 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.5684, allocations: 41.69 kB / 1.381 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.5684, allocations: 0 / 1.381 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.5684, allocations: 3.984 kB / 1.381 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.5684, allocations: 4 kB / 1.381 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.5685, allocations: 19.94 kB / 1.381 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001954/0.5687, allocations: 153.7 kB / 1.381 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.569, allocations: 54.5 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002915/0.5693, allocations: 178.3 kB / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.5693, allocations: 34.56 kB / 1.381 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.773e-06/0.5693, allocations: 0 / 1.381 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0002797/0.5696, allocations: 65.67 kB / 1.381 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.5696, allocations: 55.41 kB / 1.381 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.703e-05/0.5697, allocations: 92.94 kB / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.5698, allocations: 29.7 kB / 1.381 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.5698, allocations: 80.14 kB / 1.382 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.5698, allocations: 11.75 kB / 1.382 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.5698, allocations: 4 kB / 1.382 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.57, allocations: 322.8 kB / 1.382 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.14e-05/0.5701, allocations: 8 kB / 1.382 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.854e-05/0.5701, allocations: 11.98 kB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.718e-05/0.5702, allocations: 8 kB / 1.382 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5702, allocations: 0 / 1.382 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000139/0.5703, allocations: 58.14 kB / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.5703, allocations: 11.94 kB / 1.382 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.5704, allocations: 0 / 1.382 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.5704, allocations: 0 / 1.382 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.574e-05/0.5704, allocations: 7.938 kB / 1.382 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.5704, allocations: 8 kB / 1.382 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.147e-05/0.5705, allocations: 3.938 kB / 1.382 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.5705, allocations: 0 / 1.382 GB, free: 12.85 MB / 0.8855 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 () * Number of clocked 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 8.679e-05/0.5706, allocations: 121.8 kB / 1.382 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.5706, allocations: 4.031 kB / 1.382 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/0.5708, allocations: 69.08 kB / 1.382 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.5708, allocations: 0 / 1.382 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5708, allocations: 0 / 1.382 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.5708, allocations: 4 kB / 1.382 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.571, allocations: 157.6 kB / 1.382 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.571, allocations: 4 kB / 1.382 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.978e-05/0.571, allocations: 7.938 kB / 1.382 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.5711, allocations: 3.984 kB / 1.382 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.5711, allocations: 0 / 1.382 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.5711, allocations: 4 kB / 1.382 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5711, allocations: 0 / 1.382 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.5713, allocations: 85.08 kB / 1.382 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.725e-05/0.5713, allocations: 89.09 kB / 1.383 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.5714, allocations: 0 / 1.383 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.509e-05/0.5714, allocations: 4 kB / 1.383 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.5715, allocations: 3.984 kB / 1.383 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.5715, allocations: 4 kB / 1.383 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.703e-05/0.5715, allocations: 75.28 kB / 1.383 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5715, allocations: 0 / 1.383 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002459/0.5718, allocations: 39.92 kB / 1.383 GB, free: 12.08 MB / 0.8855 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 () * Number of clocked 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.0006598/0.5724, allocations: 0.6677 MB / 1.383 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001427/0.5726, allocations: 27.98 kB / 1.383 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5726, allocations: 0 / 1.383 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.737e-05/0.5727, allocations: 19.92 kB / 1.383 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.5728, allocations: 8 kB / 1.383 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004587/0.5733, allocations: 191.2 kB / 1.384 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.5736, allocations: 0.677 MB / 1.384 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.092e-05/0.5736, allocations: 8 kB / 1.384 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/0.5737, allocations: 15.42 kB / 1.384 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of SimCode: time 3.8e-07/0.5737, allocations: 3.938 kB / 1.384 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.5877, allocations: 1.628 MB / 1.386 GB, free: 8.895 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002365/0.588, allocations: 190 kB / 1.386 GB, free: 8.66 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/2.227, allocations: 3.938 kB / 1.386 GB, free: 8.656 MB / 0.8855 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