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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001332, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.6/2.6, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.484/4.484, allocations: 409.2 MB / 0.6838 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005444/0.0005445, allocations: 15.98 kB / 0.8375 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678/1.678, allocations: 146.8 MB / 0.9809 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.004217/1.683, allocations: 1.339 MB / 0.9822 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001321/1.684, allocations: 351.2 kB / 0.9825 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/1.684, allocations: 4 kB / 0.9825 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.508e-05/1.684, allocations: 7.938 kB / 0.9825 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000198/1.684, allocations: 23.94 kB / 0.9825 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007274/1.685, allocations: 106.5 kB / 0.9826 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002458/1.685, allocations: 67.84 kB / 0.9827 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002307/1.686, allocations: 40.12 kB / 0.9827 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/1.686, allocations: 35.91 kB / 0.9828 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/1.686, allocations: 31.84 kB / 0.9828 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/1.686, allocations: 0 / 0.9828 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002499/1.686, allocations: 55.95 kB / 0.9829 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.737e-05/1.686, allocations: 15.92 kB / 0.9829 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.585e-05/1.686, allocations: 45.58 kB / 0.9829 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002982/1.687, allocations: 90.05 kB / 0.983 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/1.687, allocations: 0 / 0.983 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of FrontEnd: time 5.009e-06/1.687, allocations: 4 kB / 0.983 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.505e-06/1.687, allocations: 0 / 0.983 GB, free: 4.039 MB / 0.7325 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.001165/1.688, allocations: 407 kB / 0.9834 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 9.605e-05/1.688, allocations: 12.03 kB / 0.9834 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001133/1.688, allocations: 38.5 kB / 0.9834 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004518/1.689, allocations: 35.88 kB / 0.9835 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/1.689, allocations: 187 kB / 0.9837 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/1.689, allocations: 41.59 kB / 0.9837 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/1.689, allocations: 8 kB / 0.9837 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005076/1.69, allocations: 110.6 kB / 0.9838 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/1.69, allocations: 4 kB / 0.9838 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/1.69, allocations: 4 kB / 0.9838 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/1.69, allocations: 4 kB / 0.9838 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004543/1.69, allocations: 87.94 kB / 0.9839 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/1.692, allocations: 388.4 kB / 0.9843 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009299/1.693, allocations: 134.6 kB / 0.9844 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/1.693, allocations: 7.938 kB / 0.9844 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.437e-05/1.693, allocations: 30.56 kB / 0.9844 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 3.546e-06/1.693, allocations: 0 / 0.9844 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0007912/1.694, allocations: 149.7 kB / 0.9846 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.628e-05/1.694, allocations: 55.36 kB / 0.9846 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/1.694, allocations: 135.6 kB / 0.9848 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.466e-05/1.694, allocations: 33.7 kB / 0.9848 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/1.694, allocations: 104.2 kB / 0.9849 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.39e-05/1.694, allocations: 19.72 kB / 0.9849 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.235e-06/1.694, allocations: 0 / 0.9849 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002122/1.694, allocations: 322.8 kB / 0.9852 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/1.695, allocations: 31.98 kB / 0.9853 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/1.695, allocations: 57.62 kB / 0.9853 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/1.695, allocations: 36.12 kB / 0.9853 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.695, allocations: 0 / 0.9853 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004662/1.695, allocations: 125.5 kB / 0.9855 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/1.696, allocations: 4 kB / 0.9855 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/1.696, allocations: 0 / 0.9855 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/1.696, allocations: 7.938 kB / 0.9855 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/1.696, allocations: 19.98 kB / 0.9855 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/1.696, allocations: 0 / 0.9855 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/1.696, allocations: 27.77 kB / 0.9855 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/1.696, allocations: 4 kB / 0.9855 GB, free: 1.227 MB / 0.7325 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 () * Number of clocked 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 0.000276/1.696, allocations: 123.3 kB / 0.9856 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.531e-05/1.696, allocations: 7.906 kB / 0.9857 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.207e-05/1.696, allocations: 12.72 kB / 0.9857 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/1.696, allocations: 0 / 0.9857 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/1.696, allocations: 0 / 0.9857 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/1.696, allocations: 4 kB / 0.9857 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003973/1.697, allocations: 205.6 kB / 0.9859 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/1.697, allocations: 0 / 0.9859 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/1.697, allocations: 27.92 kB / 0.9859 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/1.697, allocations: 0 / 0.9859 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/1.697, allocations: 0 / 0.9859 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/1.697, allocations: 0 / 0.9859 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.697, allocations: 0 / 0.9859 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007306/1.698, allocations: 219.4 kB / 0.9861 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002165/1.698, allocations: 88.94 kB / 0.9862 GB, free: 468 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.463e-05/1.698, allocations: 7.984 kB / 0.9862 GB, free: 460 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/1.698, allocations: 19.98 kB / 0.9862 GB, free: 440 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.876e-05/1.699, allocations: 4 kB / 0.9862 GB, free: 436 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/1.699, allocations: 7.984 kB / 0.9862 GB, free: 428 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001768/1.699, allocations: 102.4 kB / 0.9863 GB, free: 328 kB / 0.7325 GB Notification: Performance of sort global known variables: time 2.01e-07/1.699, allocations: 0 / 0.9863 GB, free: 328 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000456/1.699, allocations: 24 kB / 0.9863 GB, free: 304 kB / 0.7325 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 (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.001601/1.701, allocations: 0.7441 MB / 0.9871 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004737/1.701, allocations: 95.94 kB / 0.9872 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.701, allocations: 0 / 0.9872 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001836/1.702, allocations: 43.97 kB / 0.9872 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006328/1.702, allocations: 24.05 kB / 0.9872 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/1.704, allocations: 0.5881 MB / 0.9878 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001611/1.706, allocations: 0.6965 MB / 0.9885 GB, free: 14 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001756/1.706, allocations: 12.66 kB / 0.9885 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/1.706, allocations: 23.44 kB / 0.9885 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of SimCode: time 2.295e-06/1.707, allocations: 3.938 kB / 0.9885 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03567/1.742, allocations: 2.339 MB / 0.9908 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0007526/1.743, allocations: 198.8 kB / 0.991 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.332/5.075, allocations: 5.328 kB / 0.991 GB, free: 11.57 MB / 0.7481 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) Environment - environmentSimulation: 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