Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_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.001312/0.001312, allocations: 116.9 kB / 16.42 MB, free: 6.484 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.001414/0.001414, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.432/1.432, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.563/2.563, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 75.88 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.257/1.258, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003202/1.262, allocations: 1.407 MB / 1.09 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005548/1.262, allocations: 203.5 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.529e-05/1.262, allocations: 5.062 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.587e-05/1.262, allocations: 4.594 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.893e-05/1.262, allocations: 9.375 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/1.263, allocations: 19.67 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.163e-05/1.263, allocations: 25.06 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/1.263, allocations: 8.594 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.559e-05/1.263, allocations: 9.125 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.982e-05/1.263, allocations: 14.11 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/1.263, allocations: 2.188 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/1.263, allocations: 28.92 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/1.263, allocations: 6.281 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.625e-05/1.263, allocations: 6.734 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001398/1.263, allocations: 38.91 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/1.263, allocations: 4 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.074e-06/1.263, allocations: 0 / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.281e-06/1.263, allocations: 0.8438 kB / 1.09 GB, free: 4.34 MB / 0.8575 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.000459/1.264, allocations: 339 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/1.264, allocations: 8 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/1.264, allocations: 12.83 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/1.264, allocations: 166.8 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/1.264, allocations: 1.344 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/1.264, allocations: 1.891 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/1.264, allocations: 54.02 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/1.265, allocations: 192 / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/1.265, allocations: 5.125 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/1.265, allocations: 0 / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/1.265, allocations: 33.3 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003824/1.265, allocations: 245.3 kB / 1.091 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/1.265, allocations: 48.38 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/1.265, allocations: 23.36 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/1.265, allocations: 1.062 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/1.265, allocations: 32.27 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/1.265, allocations: 0 / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004499/1.266, allocations: 88.02 kB / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/1.266, allocations: 52.02 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.827e-05/1.266, allocations: 105.5 kB / 1.091 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/1.266, allocations: 25.7 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.74e-05/1.266, allocations: 85.97 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/1.266, allocations: 5.656 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/1.266, allocations: 21.34 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.197e-05/1.266, allocations: 311.9 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/1.266, allocations: 19.05 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.167e-05/1.266, allocations: 18.33 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/1.267, allocations: 41.3 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.267, allocations: 0 / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002189/1.267, allocations: 75.25 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/1.267, allocations: 5.781 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.267, allocations: 0.75 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/1.267, allocations: 0 / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/1.267, allocations: 9.172 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/1.267, allocations: 0.5625 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.964e-05/1.267, allocations: 15.11 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.84e-06/1.267, allocations: 0 / 1.092 GB, free: 2.621 MB / 0.8575 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.523e-05/1.267, allocations: 111.8 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/1.267, allocations: 7.078 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/1.268, allocations: 74.78 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/1.268, allocations: 0.6562 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/1.268, allocations: 4 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.633e-05/1.268, allocations: 79.31 kB / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/1.268, allocations: 5.781 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.471e-05/1.268, allocations: 6.016 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/1.268, allocations: 2.547 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002551/1.268, allocations: 153.4 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002613/1.268, allocations: 246.5 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001003/1.268, allocations: 24.48 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.691e-05/1.268, allocations: 80.47 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of Backend: time 1.81e-07/1.268, allocations: 0 / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005041/1.269, allocations: 116.4 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004575/1.269, allocations: 0.563 MB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of Templates: time 0.003893/1.273, allocations: 0.7314 MB / 1.094 GB, free: 1.176 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches