Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 99.34 kB / 16.02 MB, free: 76 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.001156/0.001156, allocations: 184 kB / 16.92 MB, free: 6.703 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.415/1.415, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.726/2.726, allocations: 437.8 MB / 0.7128 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005209/0.0005212, allocations: 16 kB / 0.8735 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7692/0.7698, allocations: 153.8 MB / 1.024 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.00175/0.7716, allocations: 1.141 MB / 1.025 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000531/0.7721, allocations: 195.5 kB / 1.025 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.048e-05/0.7722, allocations: 4 kB / 1.025 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.7722, allocations: 0 / 1.025 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.83e-05/0.7723, allocations: 3.938 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.7725, allocations: 19.92 kB / 1.025 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.491e-05/0.7726, allocations: 19.92 kB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.41e-05/0.7727, allocations: 15.98 kB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.145e-05/0.7727, allocations: 11.92 kB / 1.025 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.528e-05/0.7728, allocations: 8 kB / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.7728, allocations: 0 / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.695e-05/0.7729, allocations: 31.91 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.7729, allocations: 0 / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.52e-05/0.773, allocations: 33.64 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.33e-05/0.7731, allocations: 25.92 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.7731, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.008e-06/0.7731, allocations: 4 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.7731, allocations: 4 kB / 1.025 GB, free: 14.38 MB / 0.7794 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.0004399/0.7736, allocations: 347.4 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.7736, allocations: 8.031 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.7738, allocations: 4.938 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.7739, allocations: 172.3 kB / 1.026 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.7739, allocations: 4.375 kB / 1.026 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.7739, allocations: 4.312 kB / 1.026 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.7741, allocations: 58.23 kB / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.7741, allocations: 3.938 kB / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.7742, allocations: 0 / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.7742, allocations: 0 / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/0.7744, allocations: 43.97 kB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.7748, allocations: 249 kB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.775, allocations: 46.44 kB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.7751, allocations: 36.91 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.7751, allocations: 0 / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.7752, allocations: 34.55 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.7752, allocations: 0 / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004285/0.7756, allocations: 97.58 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.7757, allocations: 55.41 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.7758, allocations: 101.8 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.7758, allocations: 25.83 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.086e-05/0.7759, allocations: 88.14 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.7759, allocations: 3.906 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.776, allocations: 17.7 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.7761, allocations: 310.8 kB / 1.027 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.94e-05/0.7762, allocations: 19.98 kB / 1.027 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.436e-05/0.7763, allocations: 27.92 kB / 1.027 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.7765, allocations: 48.81 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.7765, allocations: 3.938 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000213/0.7767, allocations: 77.73 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.7768, allocations: 11.98 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.889e-05/0.7768, allocations: 7.922 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.7768, allocations: 0 / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.7769, allocations: 12.03 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.7769, allocations: 0 / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.106e-05/0.777, allocations: 15.92 kB / 1.027 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.777, allocations: 0 / 1.027 GB, free: 12.26 MB / 0.7794 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 0.0001029/0.7771, allocations: 110.3 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.7772, allocations: 7.906 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.7775, allocations: 88.77 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.7775, allocations: 0 / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.7775, allocations: 0 / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.7775, allocations: 0 / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.7777, allocations: 169.6 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7777, allocations: 0 / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.396e-05/0.7778, allocations: 15.94 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.7778, allocations: 3.984 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.7778, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.7778, allocations: 8 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.7778, allocations: 240 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.7781, allocations: 183.4 kB / 1.028 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.662e-05/0.7782, allocations: 77.11 kB / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.7782, allocations: 0 / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.621e-05/0.7783, allocations: 11.98 kB / 1.028 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.7784, allocations: 0 / 1.028 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.7784, allocations: 0 / 1.028 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.691e-05/0.7784, allocations: 91.27 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7784, allocations: 0 / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002237/0.7787, allocations: 4 kB / 1.028 GB, free: 11.4 MB / 0.7794 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.0001756/0.7789, allocations: 107.1 kB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002428/0.7791, allocations: 47.95 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.7791, allocations: 4 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.7792, allocations: 27.92 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.7796, allocations: 8.5 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004482/0.78, allocations: 156.4 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.7804, allocations: 0.6848 MB / 1.029 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.7804, allocations: 7.438 kB / 1.029 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of SimCode: time 5.81e-07/0.7804, allocations: 0 / 1.029 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of Templates: time 0.002503/0.7829, allocations: 0.5799 MB / 1.029 GB, free: 9.723 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches