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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001043/0.001044, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001272/0.001272, allocations: 190.7 kB / 16.14 MB, free: 6.711 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.426/1.426, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.563/2.563, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.91 kB / 0.8685 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7713/0.7725, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003179/0.7758, allocations: 1.472 MB / 1.018 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000571/0.7764, allocations: 199.5 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.152e-05/0.7764, allocations: 3.938 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.619e-05/0.7765, allocations: 0 / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.314e-05/0.7766, allocations: 4 kB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.7768, allocations: 31.89 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.722e-05/0.7769, allocations: 23.88 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.777, allocations: 0 / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.22e-05/0.777, allocations: 11.98 kB / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.209e-05/0.7771, allocations: 11.92 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.7771, allocations: 4 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.7772, allocations: 23.97 kB / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.7772, allocations: 4 kB / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.904e-05/0.7773, allocations: 11.94 kB / 1.018 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.7774, allocations: 33.92 kB / 1.018 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.7774, allocations: 3.938 kB / 1.018 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7774, allocations: 7.938 kB / 1.018 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.7775, allocations: 0 / 1.018 GB, free: 0.9375 MB / 0.7637 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.0004923/0.7779, allocations: 347.4 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.778, allocations: 12.03 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.7782, allocations: 0.9375 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.7783, allocations: 168.3 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.7783, allocations: 4.375 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.7784, allocations: 4.312 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.7786, allocations: 50.23 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.7786, allocations: 192 / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.7786, allocations: 3.938 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.7786, allocations: 0 / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.7788, allocations: 35.95 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.7792, allocations: 252.9 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.7794, allocations: 42.53 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.305e-05/0.7795, allocations: 28.89 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.7795, allocations: 0 / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.7795, allocations: 34.56 kB / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.7795, allocations: 0 / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004208/0.7799, allocations: 85.58 kB / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.78, allocations: 51.41 kB / 1.019 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.04e-05/0.7801, allocations: 97.84 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.7801, allocations: 25.7 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.7802, allocations: 92.27 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.7802, allocations: 3.906 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.7802, allocations: 13.72 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.7803, allocations: 318.8 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.484e-05/0.7804, allocations: 11.98 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.711e-05/0.7805, allocations: 15.98 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.7807, allocations: 44.88 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.7807, allocations: 0 / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000201/0.7809, allocations: 73.45 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.7809, allocations: 6.031 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.7809, allocations: 3.938 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.781, allocations: 0 / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.113e-05/0.7811, allocations: 16.02 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.7811, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.835e-05/0.7811, allocations: 11.92 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.7811, allocations: 0 / 1.02 GB, free: 14.89 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 8.777e-05/0.7812, allocations: 118.3 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.7813, allocations: 0 / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002581/0.7815, allocations: 84.7 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.7815, allocations: 0 / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.7815, allocations: 0 / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.7816, allocations: 0 / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.7817, allocations: 161.6 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.7817, allocations: 3.984 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.016e-05/0.7818, allocations: 8 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.7818, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.7818, allocations: 7.938 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.7818, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.7818, allocations: 4 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.7821, allocations: 167.4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.7822, allocations: 88.95 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.7822, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.187e-05/0.7823, allocations: 7.984 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.7823, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.7823, allocations: 12 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.025e-05/0.7824, allocations: 75.28 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7824, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002153/0.7826, allocations: 8 kB / 1.021 GB, free: 14.06 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.0001084/0.7827, allocations: 99.23 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.7829, allocations: 32.39 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7829, allocations: 8.062 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.492e-05/0.783, allocations: 27.91 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.7834, allocations: 5.656 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/0.7837, allocations: 120.5 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.784, allocations: 0.677 MB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.737e-05/0.784, allocations: 11.98 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.641e-05/0.784, allocations: 7.438 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.784, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of Templates: time 0.002577/0.7866, allocations: 431 kB / 1.022 GB, free: 12.6 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches