Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",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.0008087/0.0008089, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.00095/0.00095, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 223.2 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.586/2.586, allocations: 409.4 MB / 0.684 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003722, allocations: 8 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8269/0.8273, allocations: 146.8 MB / 0.9812 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001488/0.8289, allocations: 1.003 MB / 0.9821 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.8301, allocations: 0.5994 MB / 0.9827 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.706e-05/0.8301, allocations: 0 / 0.9827 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.728e-05/0.8301, allocations: 3.984 kB / 0.9827 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.346e-05/0.8302, allocations: 11.92 kB / 0.9827 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004625/0.8307, allocations: 83.64 kB / 0.9828 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.001e-05/0.8308, allocations: 31.84 kB / 0.9828 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.041e-05/0.8308, allocations: 0 / 0.9828 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.671e-05/0.8308, allocations: 12 kB / 0.9829 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.1e-05/0.8309, allocations: 11.92 kB / 0.9829 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.8309, allocations: 0 / 0.9829 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002695/0.8312, allocations: 151.7 kB / 0.983 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.8312, allocations: 7.984 kB / 0.983 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.8313, allocations: 25.7 kB / 0.983 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.8314, allocations: 66.17 kB / 0.9831 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.8314, allocations: 7.938 kB / 0.9831 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8314, allocations: 0 / 0.9831 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.8314, allocations: 4 kB / 0.9831 GB, free: 4.227 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00048/0.8319, allocations: 347.2 kB / 0.9835 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.832, allocations: 8.031 kB / 0.9835 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.967e-05/0.832, allocations: 38.55 kB / 0.9835 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004116/0.8325, allocations: 27.97 kB / 0.9835 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.8326, allocations: 167 kB / 0.9837 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.8326, allocations: 3.938 kB / 0.9837 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.8327, allocations: 3.953 kB / 0.9837 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.8329, allocations: 61.64 kB / 0.9837 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.8329, allocations: 0 / 0.9837 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.8329, allocations: 0 / 0.9837 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.8329, allocations: 8 kB / 0.9838 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.833, allocations: 27.97 kB / 0.9838 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002721/0.8333, allocations: 157.7 kB / 0.9839 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003665/0.8337, allocations: 78.5 kB / 0.984 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.921e-05/0.8338, allocations: 24.94 kB / 0.984 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.8338, allocations: 3.953 kB / 0.984 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.8339, allocations: 34.56 kB / 0.9841 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.8339, allocations: 0 / 0.9841 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.00319/0.8371, allocations: 0.5721 MB / 0.9846 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.8371, allocations: 51.41 kB / 0.9847 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.376e-05/0.8372, allocations: 93.86 kB / 0.9848 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.8372, allocations: 29.7 kB / 0.9848 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.944e-05/0.8373, allocations: 84.27 kB / 0.9849 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.8373, allocations: 23.64 kB / 0.9849 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/0.8373, allocations: 4 kB / 0.9849 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.8374, allocations: 310.8 kB / 0.9852 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.8376, allocations: 39.91 kB / 0.9852 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.8377, allocations: 39.91 kB / 0.9853 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.8378, allocations: 43.97 kB / 0.9853 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.8378, allocations: 0 / 0.9853 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003441/0.8382, allocations: 129.5 kB / 0.9854 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.8382, allocations: 4 kB / 0.9854 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.8382, allocations: 4 kB / 0.9854 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.8383, allocations: 7.938 kB / 0.9855 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.8385, allocations: 19.97 kB / 0.9855 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.8385, allocations: 0 / 0.9855 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.8386, allocations: 7.984 kB / 0.9855 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.8387, allocations: 4 kB / 0.9855 GB, free: 1.531 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 (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 prepare postOptimizeDAE: time 9.475e-05/0.8388, allocations: 113.8 kB / 0.9856 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.068e-05/0.8388, allocations: 11.95 kB / 0.9856 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.666e-05/0.8389, allocations: 11.95 kB / 0.9856 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.8389, allocations: 4 kB / 0.9856 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.8389, allocations: 0 / 0.9856 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.8389, allocations: 0 / 0.9856 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.8391, allocations: 183.7 kB / 0.9858 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.8391, allocations: 4 kB / 0.9858 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.8393, allocations: 19.97 kB / 0.9858 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.8393, allocations: 3.953 kB / 0.9858 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.8393, allocations: 8 kB / 0.9858 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.8393, allocations: 3.984 kB / 0.9858 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.8393, allocations: 0 / 0.9858 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000498/0.8398, allocations: 189 kB / 0.986 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.8399, allocations: 81.02 kB / 0.9861 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.8399, allocations: 8.109 kB / 0.9861 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.8401, allocations: 16.05 kB / 0.9861 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.8401, allocations: 4 kB / 0.9861 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.8402, allocations: 7.984 kB / 0.9861 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.666e-05/0.8402, allocations: 79.28 kB / 0.9862 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8402, allocations: 0 / 0.9862 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002478/0.8405, allocations: 32 kB / 0.9862 GB, free: 0.6719 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0009034/0.8414, allocations: 0.7491 MB / 0.987 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003102/0.8417, allocations: 87.98 kB / 0.987 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.8417, allocations: 0 / 0.987 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.8418, allocations: 51.89 kB / 0.9871 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.8421, allocations: 17.42 kB / 0.9871 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.8434, allocations: 0.5159 MB / 0.9876 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.8437, allocations: 0.6809 MB / 0.9883 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000239/0.844, allocations: 28.09 kB / 0.9883 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.473e-05/0.8441, allocations: 19.41 kB / 0.9883 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of SimCode: time 4.01e-07/0.8441, allocations: 0 / 0.9883 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01584/0.8599, allocations: 2.238 MB / 0.9905 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/0.8602, allocations: 253.5 kB / 0.9908 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.86/2.72, allocations: 0 / 0.9908 GB, free: 12.09 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat does not exist to compare? outputFormat=mat