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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001401/0.001401, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.266/1.266, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.401/2.401, allocations: 461.9 MB / 0.7347 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.08 kB / 0.8992 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2365, allocations: 157.4 MB / 1.053 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002686/0.2392, allocations: 1.411 MB / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004321/0.2397, allocations: 203.5 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.519e-05/0.2397, allocations: 0 / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.41e-05/0.2398, allocations: 0 / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.461e-05/0.2398, allocations: 7.938 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.2401, allocations: 27.84 kB / 1.055 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.303e-05/0.2402, allocations: 27.86 kB / 1.055 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.68e-05/0.2403, allocations: 4 kB / 1.055 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.264e-05/0.2403, allocations: 15.92 kB / 1.055 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.792e-05/0.2403, allocations: 15.91 kB / 1.055 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.2404, allocations: 0 / 1.055 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.281e-05/0.2404, allocations: 23.98 kB / 1.055 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.2405, allocations: 8 kB / 1.055 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.2405, allocations: 15.94 kB / 1.055 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.2406, allocations: 36.17 kB / 1.055 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2406, allocations: 0 / 1.055 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.616e-06/0.2406, allocations: 3.984 kB / 1.055 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.2406, allocations: 0 / 1.055 GB, free: 6.418 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.0004065/0.2411, allocations: 339.5 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.2411, allocations: 8.625 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.086e-05/0.2411, allocations: 30.75 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.2412, allocations: 12.84 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.2414, allocations: 168.3 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.2414, allocations: 384 / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.2414, allocations: 4.375 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.2416, allocations: 54.23 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.2416, allocations: 3.938 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.2416, allocations: 0 / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.2416, allocations: 3.938 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.2418, allocations: 31.95 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.2421, allocations: 248.9 kB / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.2422, allocations: 42.53 kB / 1.056 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.398e-05/0.2423, allocations: 16.91 kB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.2423, allocations: 0 / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.2424, allocations: 46.5 kB / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.093e-06/0.2424, allocations: 0 / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003286/0.2427, allocations: 73.64 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.2427, allocations: 55.41 kB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.405e-05/0.2428, allocations: 101.8 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.2428, allocations: 29.83 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.2429, allocations: 88.05 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.2429, allocations: 0 / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.2429, allocations: 13.72 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.243, allocations: 314.8 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.493e-05/0.2431, allocations: 19.98 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.315e-05/0.2432, allocations: 11.98 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.2434, allocations: 52.81 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.2434, allocations: 7.875 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001916/0.2436, allocations: 61.58 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.2436, allocations: 8 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2436, allocations: 0 / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.2436, allocations: 0 / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.272e-05/0.2437, allocations: 12.02 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.2437, allocations: 7.938 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.142e-05/0.2438, allocations: 3.984 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.2438, allocations: 4 kB / 1.056 GB, free: 4.344 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.153e-05/0.2439, allocations: 109.8 kB / 1.057 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/0.2439, allocations: 0 / 1.057 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002442/0.2442, allocations: 84.7 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2442, allocations: 4.234 kB / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2442, allocations: 0 / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.2442, allocations: 3.984 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.2444, allocations: 165.6 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.2444, allocations: 0 / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.807e-05/0.2444, allocations: 8 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2445, allocations: 0 / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.2445, allocations: 0 / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2445, allocations: 4 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2445, allocations: 3.984 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.2447, allocations: 171.4 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.392e-05/0.2448, allocations: 81.02 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.2448, allocations: 0 / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.224e-05/0.2449, allocations: 11.98 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.2449, allocations: 8 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.2449, allocations: 0 / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.391e-05/0.245, allocations: 83.28 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.245, allocations: 0 / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002157/0.2452, allocations: 4 kB / 1.057 GB, free: 3.52 MB / 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.0004897/0.2457, allocations: 0.7045 MB / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001981/0.2459, allocations: 39.95 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2459, allocations: 4 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.207e-05/0.246, allocations: 15.98 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.2462, allocations: 5.406 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004024/0.2467, allocations: 152.3 kB / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.2469, allocations: 0.6768 MB / 1.059 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.977e-05/0.2469, allocations: 7.938 kB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.39e-05/0.247, allocations: 11.44 kB / 1.059 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of SimCode: time 1.483e-06/0.247, allocations: 4 kB / 1.059 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.155/1.402, allocations: 1.351 MB / 1.06 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/13.4, allocations: 8.922 kB / 1.06 GB, free: 0.5703 MB / 0.8106 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