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.947/1.947, allocations: 390.5 MB / 398 MB, free: 10.95 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.001002/0.001002, allocations: 176.9 kB / 491.2 MB, free: 1.562 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.23/1.23, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.0008559/0.000856, allocations: 103.8 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.468e-05/1.47e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2105, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6888/0.8994, allocations: 151 MB / 1.36 GB, free: 17.29 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002083/0.8996, allocations: 82.75 kB / 1.36 GB, free: 17.29 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007516/0.9072, allocations: 2.684 MB / 1.363 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9072, allocations: 3.938 kB / 1.363 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.9072, allocations: 7.938 kB / 1.363 GB, free: 32.84 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.0002433/0.9074, allocations: 357.3 kB / 1.363 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.9075, allocations: 7.5 kB / 1.363 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.9075, allocations: 10.8 kB / 1.363 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.659e-05/0.9076, allocations: 159.1 kB / 1.363 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.832e-05/0.9077, allocations: 31.28 kB / 1.363 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.9077, allocations: 0 / 1.363 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.508e-05/0.9077, allocations: 11.06 kB / 1.363 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.909e-05/0.9078, allocations: 47.42 kB / 1.363 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.9078, allocations: 0 / 1.363 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.9078, allocations: 1.734 kB / 1.363 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.9078, allocations: 0 / 1.363 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001003/0.9079, allocations: 140.5 kB / 1.363 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.9081, allocations: 41.84 kB / 1.363 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.24e-05/0.9081, allocations: 12.95 kB / 1.363 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001916/0.9083, allocations: 181.6 kB / 1.364 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.351e-05/0.9083, allocations: 34.47 kB / 1.364 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.9084, allocations: 0 / 1.364 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0004116/0.9088, allocations: 102.3 kB / 1.364 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.485e-05/0.9088, allocations: 51.41 kB / 1.364 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.354e-05/0.9089, allocations: 90.08 kB / 1.364 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.9089, allocations: 29.7 kB / 1.364 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.112e-05/0.9089, allocations: 85.81 kB / 1.364 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.9089, allocations: 15.44 kB / 1.364 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/0.9089, allocations: 0 / 1.364 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.499e-05/0.909, allocations: 316.1 kB / 1.364 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.377e-05/0.909, allocations: 2.938 kB / 1.364 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.197e-06/0.909, allocations: 3.875 kB / 1.364 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.9093, allocations: 60.36 kB / 1.364 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9094, allocations: 4 kB / 1.364 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003169/0.9097, allocations: 92.78 kB / 1.364 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.9097, allocations: 9.516 kB / 1.364 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.9097, allocations: 0 / 1.364 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.9097, allocations: 3.938 kB / 1.364 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.979e-05/0.9098, allocations: 13.45 kB / 1.364 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.9098, allocations: 0 / 1.364 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.67e-05/0.9098, allocations: 0 / 1.364 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.9098, allocations: 0 / 1.364 GB, free: 31.1 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 4.821e-05/0.9099, allocations: 113.6 kB / 1.365 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003198/0.9102, allocations: 98.61 kB / 1.365 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-06/0.9102, allocations: 3.906 kB / 1.365 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/0.9106, allocations: 109.4 kB / 1.365 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.9106, allocations: 0 / 1.365 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.9106, allocations: 0 / 1.365 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.9106, allocations: 0 / 1.365 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.55e-05/0.9107, allocations: 138.1 kB / 1.365 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.9107, allocations: 4 kB / 1.365 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.345e-05/0.9107, allocations: 9.344 kB / 1.365 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.9107, allocations: 0 / 1.365 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.9108, allocations: 0 / 1.365 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.9108, allocations: 0 / 1.365 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.9108, allocations: 0 / 1.365 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003279/0.9111, allocations: 123.3 kB / 1.365 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/0.9111, allocations: 85.92 kB / 1.365 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.9112, allocations: 4 kB / 1.365 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.308e-05/0.9112, allocations: 1.875 kB / 1.365 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.9112, allocations: 10.56 kB / 1.365 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.9113, allocations: 0 / 1.365 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.452e-05/0.9113, allocations: 83.11 kB / 1.365 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9113, allocations: 0 / 1.365 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002011/0.9115, allocations: 40.41 kB / 1.365 GB, free: 30.49 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.0006204/0.9121, allocations: 0.7028 MB / 1.366 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.296e-05/0.9122, allocations: 18.91 kB / 1.366 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.9122, allocations: 3.312 kB / 1.366 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.727e-05/0.9122, allocations: 13.11 kB / 1.366 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.9124, allocations: 9.984 kB / 1.366 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002315/0.9126, allocations: 106 kB / 1.366 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.9128, allocations: 0.6804 MB / 1.367 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.273e-05/0.9129, allocations: 5.719 kB / 1.367 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.347e-05/0.9129, allocations: 13.88 kB / 1.367 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/0.9129, allocations: 4 kB / 1.367 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/0.9311, allocations: 1.332 MB / 1.368 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001352/0.9313, allocations: 154.7 kB / 1.368 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.369/2.3, allocations: 2.391 kB / 1.368 GB, free: 28.74 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