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.00174/0.001741, allocations: 99.86 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.001986/0.001987, 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.771/2.771, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.225/5.225, allocations: 409.2 MB / 0.6838 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006687/0.000669, allocations: 16 kB / 0.8375 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.532/1.533, allocations: 146.8 MB / 0.9809 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002472/1.536, allocations: 0.9879 MB / 0.9818 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001824/1.538, allocations: 0.584 MB / 0.9824 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.393e-05/1.538, allocations: 0 / 0.9824 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.082e-05/1.538, allocations: 0 / 0.9824 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.13e-05/1.538, allocations: 7.984 kB / 0.9824 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007647/1.539, allocations: 95.64 kB / 0.9825 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.57e-05/1.539, allocations: 15.98 kB / 0.9825 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.626e-05/1.539, allocations: 4 kB / 0.9825 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.041e-05/1.539, allocations: 11.98 kB / 0.9825 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/1.539, allocations: 19.86 kB / 0.9826 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/1.539, allocations: 0 / 0.9826 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005033/1.539, allocations: 151.8 kB / 0.9827 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.343e-05/1.54, allocations: 11.92 kB / 0.9827 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.889e-05/1.54, allocations: 29.7 kB / 0.9827 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000267/1.54, allocations: 62.17 kB / 0.9828 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/1.54, allocations: 0 / 0.9828 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.926e-06/1.54, allocations: 0 / 0.9828 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.262e-06/1.54, allocations: 4 kB / 0.9828 GB, free: 4.348 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.0007144/1.541, allocations: 355.2 kB / 0.9831 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.657e-05/1.541, allocations: 8.031 kB / 0.9832 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.497e-05/1.541, allocations: 34.56 kB / 0.9832 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007157/1.542, allocations: 27.95 kB / 0.9832 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/1.542, allocations: 171 kB / 0.9834 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/1.542, allocations: 3.984 kB / 0.9834 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.096e-05/1.542, allocations: 3.953 kB / 0.9834 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/1.542, allocations: 61.59 kB / 0.9834 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/1.542, allocations: 0 / 0.9834 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/1.542, allocations: 0 / 0.9834 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/1.542, allocations: 4 kB / 0.9835 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002342/1.543, allocations: 27.97 kB / 0.9835 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003012/1.543, allocations: 161.7 kB / 0.9836 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00057/1.543, allocations: 66.53 kB / 0.9837 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.45e-05/1.543, allocations: 0 / 0.9837 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/1.544, allocations: 42.45 kB / 0.9837 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/1.544, allocations: 0 / 0.9837 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.005785/1.549, allocations: 0.5682 MB / 0.9843 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/1.549, allocations: 55.41 kB / 0.9843 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/1.55, allocations: 101.8 kB / 0.9844 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/1.55, allocations: 25.7 kB / 0.9845 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/1.55, allocations: 80.14 kB / 0.9845 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.297e-05/1.55, allocations: 23.66 kB / 0.9846 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.736e-05/1.55, allocations: 0 / 0.9846 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.55, allocations: 318.8 kB / 0.9849 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/1.55, allocations: 40.09 kB / 0.9849 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/1.55, allocations: 31.97 kB / 0.9849 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/1.551, allocations: 35.98 kB / 0.985 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.551, allocations: 0 / 0.985 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006617/1.551, allocations: 133.4 kB / 0.9851 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/1.551, allocations: 4 kB / 0.9851 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/1.551, allocations: 0 / 0.9851 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/1.552, allocations: 4 kB / 0.9851 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003836/1.552, allocations: 19.97 kB / 0.9851 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/1.552, allocations: 3.938 kB / 0.9851 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002525/1.552, allocations: 15.98 kB / 0.9851 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-05/1.552, allocations: 7.984 kB / 0.9852 GB, free: 1.68 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 0.0001709/1.552, allocations: 105.8 kB / 0.9853 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/1.553, allocations: 7.953 kB / 0.9853 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/1.553, allocations: 11.97 kB / 0.9853 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/1.553, allocations: 4 kB / 0.9853 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/1.553, allocations: 0 / 0.9853 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/1.553, allocations: 0 / 0.9853 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/1.553, allocations: 191.7 kB / 0.9855 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/1.553, allocations: 0 / 0.9855 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003652/1.553, allocations: 23.91 kB / 0.9855 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/1.554, allocations: 4.281 kB / 0.9855 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/1.554, allocations: 12.05 kB / 0.9855 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.554, allocations: 4 kB / 0.9855 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.554, allocations: 0 / 0.9855 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009567/1.555, allocations: 189 kB / 0.9857 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.887e-05/1.555, allocations: 88.98 kB / 0.9858 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.754e-05/1.555, allocations: 7.984 kB / 0.9858 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000301/1.555, allocations: 8 kB / 0.9858 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.599e-05/1.555, allocations: 7.984 kB / 0.9858 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/1.555, allocations: 4 kB / 0.9858 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.001e-05/1.555, allocations: 79.27 kB / 0.9859 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.359e-06/1.555, allocations: 0 / 0.9859 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004932/1.556, allocations: 40.09 kB / 0.9859 GB, free: 0.8125 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.001539/1.557, allocations: 0.7413 MB / 0.9866 GB, free: 40 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005871/1.558, allocations: 83.88 kB / 0.9867 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.558, allocations: 0 / 0.9867 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002701/1.558, allocations: 52.02 kB / 0.9868 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/1.559, allocations: 12.28 kB / 0.9868 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/1.561, allocations: 0.5159 MB / 0.9873 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/1.561, allocations: 0.681 MB / 0.9879 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004614/1.562, allocations: 31.97 kB / 0.988 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/1.562, allocations: 19.41 kB / 0.988 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of SimCode: time 1.603e-06/1.562, allocations: 4 kB / 0.988 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/1.584, allocations: 2.217 MB / 0.9902 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003418/1.585, allocations: 245.7 kB / 0.9904 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.959/4.544, allocations: 0 / 0.9904 GB, free: 12.34 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