Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.HumidityRatioPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.946/1.946, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.0009837/0.0009837, allocations: 180.8 kB / 496.1 MB, free: 12.87 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.259/1.259, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.0007789/0.0007789, allocations: 87.97 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.974e-05/2.977e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1971, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6797/0.8769, allocations: 152.3 MB / 1.368 GB, free: 1.855 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001915/0.8771, allocations: 77.05 kB / 1.368 GB, free: 1.812 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009598/0.8867, allocations: 3.501 MB / 1.371 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8867, allocations: 4 kB / 1.371 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.8868, allocations: 0 / 1.371 GB, free: 14.82 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004221/0.8872, allocations: 406.1 kB / 1.371 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.8872, allocations: 8.031 kB / 1.371 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.046e-05/0.8873, allocations: 37.94 kB / 1.371 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001919/0.8875, allocations: 35.83 kB / 1.371 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.8877, allocations: 194.5 kB / 1.372 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.379e-05/0.8877, allocations: 33.7 kB / 1.372 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.8878, allocations: 7.875 kB / 1.372 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.8879, allocations: 78.92 kB / 1.372 GB, free: 13.97 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.8879, allocations: 0 / 1.372 GB, free: 13.97 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.8879, allocations: 7.75 kB / 1.372 GB, free: 13.97 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.888, allocations: 0 / 1.372 GB, free: 13.97 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.8881, allocations: 56.89 kB / 1.372 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005375/0.8886, allocations: 394.2 kB / 1.372 GB, free: 13.53 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004106/0.889, allocations: 122.4 kB / 1.372 GB, free: 13.42 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.657e-05/0.8891, allocations: 26.98 kB / 1.372 GB, free: 13.4 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.8891, allocations: 4 kB / 1.372 GB, free: 13.4 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.8891, allocations: 30.62 kB / 1.372 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.8891, allocations: 0 / 1.372 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001726/0.8893, allocations: 75.2 kB / 1.372 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.8894, allocations: 55.41 kB / 1.373 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.052e-05/0.8895, allocations: 136.5 kB / 1.373 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.8895, allocations: 29.52 kB / 1.373 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.884e-05/0.8895, allocations: 98.78 kB / 1.373 GB, free: 12.97 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.8895, allocations: 22.84 kB / 1.373 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/0.8896, allocations: 0 / 1.373 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.268e-05/0.8897, allocations: 322 kB / 1.373 GB, free: 12.63 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.333e-05/0.8897, allocations: 18.81 kB / 1.373 GB, free: 12.62 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.116e-05/0.8897, allocations: 33.09 kB / 1.373 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.832e-05/0.8898, allocations: 23.08 kB / 1.373 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.8898, allocations: 0 / 1.373 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001209/0.8899, allocations: 98.78 kB / 1.373 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.8899, allocations: 5.562 kB / 1.373 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.8899, allocations: 0 / 1.373 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.89, allocations: 4 kB / 1.373 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.8901, allocations: 24.02 kB / 1.373 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.8901, allocations: 0 / 1.373 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.028e-05/0.8902, allocations: 11.98 kB / 1.373 GB, free: 12.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.8902, allocations: 0 / 1.373 GB, free: 12.44 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.094e-05/0.8903, allocations: 109.3 kB / 1.373 GB, free: 12.33 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/0.8903, allocations: 11.86 kB / 1.373 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.569e-05/0.8903, allocations: 11.06 kB / 1.373 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.8904, allocations: 4 kB / 1.373 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.8904, allocations: 4 kB / 1.373 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.8904, allocations: 3.984 kB / 1.373 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.8905, allocations: 194 kB / 1.374 GB, free: 12.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.8905, allocations: 0 / 1.374 GB, free: 12.08 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.986e-05/0.8907, allocations: 35.3 kB / 1.374 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.8907, allocations: 3.953 kB / 1.374 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.8907, allocations: 0 / 1.374 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.217e-06/0.8907, allocations: 4 kB / 1.374 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.8907, allocations: 0 / 1.374 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.8908, allocations: 185 kB / 1.374 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/0.8909, allocations: 85 kB / 1.374 GB, free: 11.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.8909, allocations: 7.953 kB / 1.374 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.8911, allocations: 15.89 kB / 1.374 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.8911, allocations: 7.5 kB / 1.374 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.8911, allocations: 11.98 kB / 1.374 GB, free: 11.72 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.491e-05/0.8912, allocations: 99.97 kB / 1.374 GB, free: 11.63 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8912, allocations: 0 / 1.374 GB, free: 11.63 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002001/0.8914, allocations: 19.25 kB / 1.374 GB, free: 11.61 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 (7): * Single equations (assignments): 7 * 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.0003575/0.8918, allocations: 0.7095 MB / 1.375 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.8919, allocations: 49.88 kB / 1.375 GB, free: 10.86 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.8919, allocations: 3.938 kB / 1.375 GB, free: 10.86 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.268e-05/0.8919, allocations: 31.48 kB / 1.375 GB, free: 10.83 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.8922, allocations: 23.81 kB / 1.375 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004087/0.8926, allocations: 164.8 kB / 1.375 GB, free: 10.63 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.8928, allocations: 0.7083 MB / 1.376 GB, free: 9.898 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.647e-05/0.8929, allocations: 8.672 kB / 1.376 GB, free: 9.887 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.916e-05/0.8929, allocations: 26.55 kB / 1.376 GB, free: 9.871 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/0.8929, allocations: 3.938 kB / 1.376 GB, free: 9.867 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01143/0.9044, allocations: 2.352 MB / 1.378 GB, free: 7.699 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/0.9046, allocations: 188.9 kB / 1.378 GB, free: 7.465 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.488/2.393, allocations: 3.938 kB / 1.378 GB, free: 7.461 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat does not exist to compare? outputFormat=mat