Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.SaturationPressureLiquid,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.0008582/0.0008579, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.001095/0.001095, allocations: 182.9 kB / 16.28 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.66/2.66, allocations: 462.7 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003393, allocations: 11.84 kB / 0.9029 GB, free: 36.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2741, allocations: 159.6 MB / 1.059 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001643/0.2758, allocations: 1.139 MB / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004822/0.2763, allocations: 195.5 kB / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.48e-05/0.2763, allocations: 0 / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.2763, allocations: 3.984 kB / 1.06 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.356e-05/0.2764, allocations: 11.94 kB / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001708/0.2766, allocations: 19.91 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.042e-05/0.2766, allocations: 31.8 kB / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.964e-05/0.2767, allocations: 4 kB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.802e-05/0.2768, allocations: 4 kB / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.002e-05/0.2768, allocations: 15.92 kB / 1.06 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.2768, allocations: 0 / 1.06 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.13e-05/0.2769, allocations: 27.97 kB / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.033e-05/0.2769, allocations: 0 / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.498e-05/0.277, allocations: 45.62 kB / 1.06 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.998e-05/0.2771, allocations: 32.19 kB / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2771, allocations: 0 / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.053e-06/0.2771, allocations: 0 / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.2771, allocations: 0 / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000403/0.2775, allocations: 337.1 kB / 1.061 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.2776, allocations: 15.97 kB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.312e-05/0.2776, allocations: 34.75 kB / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.2777, allocations: 8.938 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.2778, allocations: 176.2 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-06/0.2779, allocations: 384 / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.2779, allocations: 4.375 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.2781, allocations: 58.17 kB / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.2781, allocations: 3.938 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.2781, allocations: 0 / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.2781, allocations: 4 kB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.2783, allocations: 43.95 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.2786, allocations: 241 kB / 1.061 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.2788, allocations: 54.44 kB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.448e-05/0.2789, allocations: 28.89 kB / 1.061 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.2789, allocations: 3.984 kB / 1.061 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.2789, allocations: 38.56 kB / 1.061 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2789, allocations: 0 / 1.061 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003604/0.2793, allocations: 97.73 kB / 1.061 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.2793, allocations: 51.41 kB / 1.061 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.425e-05/0.2794, allocations: 93.86 kB / 1.061 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.2794, allocations: 33.64 kB / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.022e-05/0.2795, allocations: 88.12 kB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.2795, allocations: 3.906 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.28e-05/0.2795, allocations: 9.719 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.547e-05/0.2796, allocations: 314.8 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.89e-05/0.2797, allocations: 24.02 kB / 1.062 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.073e-05/0.2798, allocations: 23.97 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.28, allocations: 52.89 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.28, allocations: 3.938 kB / 1.062 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002121/0.2802, allocations: 81.59 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2802, allocations: 4 kB / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2802, allocations: 0 / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.2802, allocations: 0 / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.64e-05/0.2803, allocations: 19.92 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.2803, allocations: 0 / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.477e-05/0.2804, allocations: 11.84 kB / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.2804, allocations: 0 / 1.062 GB, free: 1.203 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.882e-05/0.2805, allocations: 119.8 kB / 1.062 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.2805, allocations: 3.984 kB / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.2808, allocations: 88.78 kB / 1.062 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2808, allocations: 4 kB / 1.062 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2808, allocations: 0 / 1.062 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.2808, allocations: 0 / 1.062 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.281, allocations: 165.6 kB / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.281, allocations: 0 / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.446e-05/0.281, allocations: 15.98 kB / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2811, allocations: 3.938 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.2811, allocations: 0 / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2811, allocations: 0 / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2811, allocations: 0 / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.2813, allocations: 179.5 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/0.2814, allocations: 81.02 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.2814, allocations: 4 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.54e-05/0.2815, allocations: 11.98 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.2815, allocations: 4 kB / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.2815, allocations: 0 / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.633e-05/0.2816, allocations: 87.27 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2816, allocations: 0 / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002277/0.2818, allocations: 4 kB / 1.063 GB, free: 360 kB / 0.8106 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004844/0.2823, allocations: 0.7111 MB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002124/0.2825, allocations: 51.95 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2825, allocations: 0 / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.926e-05/0.2827, allocations: 31.92 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.2829, allocations: 5.062 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003969/0.2833, allocations: 166.3 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.2835, allocations: 0.677 MB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.155e-05/0.2836, allocations: 4 kB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/0.2836, allocations: 11.38 kB / 1.064 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of SimCode: time 3.5e-07/0.2836, allocations: 4 kB / 1.064 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01004/0.2937, allocations: 1.107 MB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/0.2939, allocations: 233.2 kB / 1.066 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/1.955, allocations: 0 / 1.066 GB, free: 13.4 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches