Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",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.001619/0.001619, allocations: 99.47 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.002147/0.002147, allocations: 177.3 kB / 15.94 MB, free: 228 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.626/2.626, allocations: 223.2 MB / 239.9 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.685/4.685, allocations: 409.2 MB / 0.6838 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006133/0.0006134, allocations: 8 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611/1.612, allocations: 146.8 MB / 0.9809 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001757/1.614, allocations: 0.9995 MB / 0.9818 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00103/1.615, allocations: 0.5061 MB / 0.9823 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.068e-05/1.615, allocations: 0 / 0.9823 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.48e-05/1.615, allocations: 0 / 0.9823 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.103e-05/1.615, allocations: 7.984 kB / 0.9823 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004432/1.615, allocations: 87.72 kB / 0.9824 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.139e-05/1.615, allocations: 11.98 kB / 0.9824 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.847e-05/1.615, allocations: 0 / 0.9824 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.785e-05/1.615, allocations: 8 kB / 0.9824 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.485e-05/1.615, allocations: 15.91 kB / 0.9825 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/1.615, allocations: 0 / 0.9825 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003295/1.616, allocations: 155.8 kB / 0.9826 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.397e-06/1.616, allocations: 0 / 0.9826 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.619e-05/1.616, allocations: 29.7 kB / 0.9826 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/1.616, allocations: 62.12 kB / 0.9827 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/1.616, allocations: 0 / 0.9827 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.248e-06/1.616, allocations: 4 kB / 0.9827 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.648e-06/1.616, allocations: 0 / 0.9827 GB, free: 4.422 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0006191/1.617, allocations: 351.2 kB / 0.983 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.903e-05/1.617, allocations: 8.031 kB / 0.983 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.087e-05/1.617, allocations: 30.56 kB / 0.9831 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005372/1.617, allocations: 23.97 kB / 0.9831 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/1.618, allocations: 167 kB / 0.9833 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/1.618, allocations: 7.938 kB / 0.9833 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/1.618, allocations: 7.891 kB / 0.9833 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/1.618, allocations: 53.67 kB / 0.9833 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/1.618, allocations: 0 / 0.9833 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/1.618, allocations: 0 / 0.9833 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/1.618, allocations: 0 / 0.9833 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/1.618, allocations: 23.97 kB / 0.9833 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003214/1.618, allocations: 153.7 kB / 0.9835 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/1.619, allocations: 46.58 kB / 0.9835 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/1.619, allocations: 3.938 kB / 0.9835 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.582e-05/1.619, allocations: 38.52 kB / 0.9836 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/1.619, allocations: 0 / 0.9836 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003816/1.619, allocations: 73.72 kB / 0.9836 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/1.619, allocations: 51.41 kB / 0.9837 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/1.619, allocations: 101.8 kB / 0.9838 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/1.619, allocations: 25.7 kB / 0.9838 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.947e-05/1.62, allocations: 80.14 kB / 0.9839 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/1.62, allocations: 7.891 kB / 0.9839 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/1.62, allocations: 0 / 0.9839 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002426/1.62, allocations: 326.9 kB / 0.9842 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.055e-05/1.62, allocations: 7.984 kB / 0.9842 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.076e-05/1.62, allocations: 15.94 kB / 0.9842 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.684e-05/1.62, allocations: 11.98 kB / 0.9842 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/1.62, allocations: 0 / 0.9842 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001919/1.62, allocations: 61.73 kB / 0.9843 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/1.62, allocations: 9.516 kB / 0.9843 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.62, allocations: 0 / 0.9843 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/1.62, allocations: 0 / 0.9843 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/1.62, allocations: 11.98 kB / 0.9843 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/1.62, allocations: 0 / 0.9843 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.462e-05/1.621, allocations: 3.906 kB / 0.9843 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/1.621, allocations: 3.984 kB / 0.9843 GB, free: 2.527 MB / 0.7325 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 (2): * Single equations (assignments): 2 * 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.000131/1.621, allocations: 113.9 kB / 0.9844 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/1.621, allocations: 0 / 0.9844 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.635e-05/1.621, allocations: 11.08 kB / 0.9845 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/1.621, allocations: 4 kB / 0.9845 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/1.621, allocations: 0 / 0.9845 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/1.621, allocations: 3.938 kB / 0.9845 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/1.621, allocations: 153.7 kB / 0.9846 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/1.621, allocations: 11.92 kB / 0.9846 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.69e-05/1.621, allocations: 4 kB / 0.9846 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/1.621, allocations: 0 / 0.9846 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/1.621, allocations: 3.984 kB / 0.9846 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/1.621, allocations: 7.953 kB / 0.9846 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.621, allocations: 0 / 0.9846 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/1.621, allocations: 81.11 kB / 0.9847 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/1.622, allocations: 85.09 kB / 0.9848 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/1.622, allocations: 0 / 0.9848 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.877e-05/1.622, allocations: 0 / 0.9848 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/1.622, allocations: 7.953 kB / 0.9848 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/1.622, allocations: 3.984 kB / 0.9848 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.771e-05/1.622, allocations: 83.28 kB / 0.9849 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/1.622, allocations: 0 / 0.9849 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002484/1.622, allocations: 12 kB / 0.9849 GB, free: 1.859 MB / 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 (2): * Single equations (assignments): 2 * 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.0007902/1.623, allocations: 0.6358 MB / 0.9855 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002392/1.623, allocations: 32 kB / 0.9855 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/1.623, allocations: 0 / 0.9855 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.626e-05/1.623, allocations: 19.92 kB / 0.9856 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/1.623, allocations: 11.94 kB / 0.9856 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000617/1.624, allocations: 155.8 kB / 0.9857 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/1.625, allocations: 0.6809 MB / 0.9864 GB, free: 240 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001014/1.625, allocations: 7.938 kB / 0.9864 GB, free: 232 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.039e-05/1.625, allocations: 11.44 kB / 0.9864 GB, free: 220 kB / 0.7325 GB Notification: Performance of SimCode: time 3.4e-07/1.625, allocations: 0 / 0.9864 GB, free: 220 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0172/1.642, allocations: 1.357 MB / 0.9877 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003625/1.642, allocations: 211.1 kB / 0.9879 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.924/4.567, allocations: 0 / 0.9879 GB, free: 14.8 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat does not exist to compare? outputFormat=mat