Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001023, allocations: 92.31 kB / 16.02 MB, free: 80 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.001606/0.001606, allocations: 178.8 kB / 16.92 MB, free: 6.652 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.463/1.463, allocations: 223.3 MB / 241 MB, free: 5.309 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.598/2.598, allocations: 437.8 MB / 0.7128 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.0003601, allocations: 8.281 kB / 0.8735 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6291/0.6295, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001519/0.631, allocations: 1.011 MB / 1.025 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1565/0.7876, allocations: 143.8 MB / 1.165 GB, free: 14.54 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.75e-05/0.7877, allocations: 0 / 1.165 GB, free: 14.54 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.222e-05/0.7877, allocations: 0 / 1.165 GB, free: 14.54 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.204e-05/0.7878, allocations: 3.938 kB / 1.165 GB, free: 14.54 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.7881, allocations: 99.59 kB / 1.165 GB, free: 14.44 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.036e-05/0.7882, allocations: 19.88 kB / 1.165 GB, free: 14.42 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.069e-05/0.7883, allocations: 7.984 kB / 1.165 GB, free: 14.41 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.603e-05/0.7883, allocations: 7.938 kB / 1.165 GB, free: 14.41 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.555e-05/0.7883, allocations: 8 kB / 1.165 GB, free: 14.4 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.7884, allocations: 0 / 1.165 GB, free: 14.4 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003934/0.7888, allocations: 175.6 kB / 1.165 GB, free: 14.23 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.7888, allocations: 4 kB / 1.165 GB, free: 14.22 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.985e-05/0.7888, allocations: 41.62 kB / 1.165 GB, free: 14.18 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.789, allocations: 77.81 kB / 1.166 GB, free: 14.1 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.789, allocations: 4 kB / 1.166 GB, free: 14.1 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.623e-06/0.789, allocations: 0 / 1.166 GB, free: 14.1 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.789, allocations: 4 kB / 1.166 GB, free: 14.09 MB / 0.92 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.0003239/0.7894, allocations: 347.4 kB / 1.166 GB, free: 13.71 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.7894, allocations: 8.031 kB / 1.166 GB, free: 13.7 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005529/0.79, allocations: 36.89 kB / 1.166 GB, free: 13.66 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.7901, allocations: 164.4 kB / 1.166 GB, free: 13.46 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.7901, allocations: 7.938 kB / 1.166 GB, free: 13.46 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.7901, allocations: 0 / 1.166 GB, free: 13.46 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.7903, allocations: 45.66 kB / 1.166 GB, free: 13.41 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.7903, allocations: 0 / 1.166 GB, free: 13.41 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.7903, allocations: 0 / 1.166 GB, free: 13.41 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.7904, allocations: 3.938 kB / 1.166 GB, free: 13.4 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.7905, allocations: 23.92 kB / 1.166 GB, free: 13.38 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.7909, allocations: 260.8 kB / 1.166 GB, free: 13.07 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.035e-05/0.7909, allocations: 22.58 kB / 1.166 GB, free: 13.04 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.172e-05/0.791, allocations: 8.922 kB / 1.166 GB, free: 13.03 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.791, allocations: 0 / 1.166 GB, free: 13.03 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.791, allocations: 34.56 kB / 1.166 GB, free: 12.99 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 2.776e-06/0.791, allocations: 4 kB / 1.166 GB, free: 12.98 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001517/0.7912, allocations: 45.62 kB / 1.167 GB, free: 12.93 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.7912, allocations: 51.41 kB / 1.167 GB, free: 12.87 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.7914, allocations: 109.8 kB / 1.167 GB, free: 12.75 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.7914, allocations: 29.7 kB / 1.167 GB, free: 12.72 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.367e-05/0.7914, allocations: 84.08 kB / 1.167 GB, free: 12.63 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.047e-06/0.7915, allocations: 7.891 kB / 1.167 GB, free: 12.62 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.7915, allocations: 9.844 kB / 1.167 GB, free: 12.61 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.7916, allocations: 322.8 kB / 1.167 GB, free: 12.29 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.344e-05/0.7917, allocations: 11.98 kB / 1.167 GB, free: 12.27 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.322e-05/0.7917, allocations: 7.984 kB / 1.167 GB, free: 12.27 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.451e-05/0.7918, allocations: 24.8 kB / 1.167 GB, free: 12.24 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7918, allocations: 0 / 1.167 GB, free: 12.24 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001877/0.792, allocations: 65.98 kB / 1.167 GB, free: 12.17 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.792, allocations: 4 kB / 1.167 GB, free: 12.16 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.7921, allocations: 11.92 kB / 1.167 GB, free: 12.15 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.7921, allocations: 0 / 1.167 GB, free: 12.15 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.7922, allocations: 11.98 kB / 1.167 GB, free: 12.14 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.7922, allocations: 0 / 1.167 GB, free: 12.14 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.7923, allocations: 11.84 kB / 1.167 GB, free: 12.13 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.7924, allocations: 7.984 kB / 1.167 GB, free: 12.12 MB / 0.92 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 (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 prepare postOptimizeDAE: time 8.034e-05/0.7924, allocations: 113.8 kB / 1.167 GB, free: 12 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.7925, allocations: 0 / 1.167 GB, free: 12 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.995e-05/0.7925, allocations: 3.125 kB / 1.167 GB, free: 12 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.7925, allocations: 0 / 1.167 GB, free: 12 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.7925, allocations: 3.938 kB / 1.167 GB, free: 11.99 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.7925, allocations: 7.938 kB / 1.167 GB, free: 11.98 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.7927, allocations: 149.7 kB / 1.168 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7927, allocations: 4 kB / 1.168 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.116e-05/0.7927, allocations: 0 / 1.168 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.7927, allocations: 7.984 kB / 1.168 GB, free: 11.78 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.7927, allocations: 4 kB / 1.168 GB, free: 11.77 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.7928, allocations: 0 / 1.168 GB, free: 11.77 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.7928, allocations: 0 / 1.168 GB, free: 11.77 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.7929, allocations: 131.5 kB / 1.168 GB, free: 11.63 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.893e-05/0.7929, allocations: 89.03 kB / 1.168 GB, free: 11.52 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.793, allocations: 0 / 1.168 GB, free: 11.52 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.231e-05/0.7931, allocations: 4.031 kB / 1.168 GB, free: 11.52 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/0.7931, allocations: 7.984 kB / 1.168 GB, free: 11.51 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.7931, allocations: 7.938 kB / 1.168 GB, free: 11.5 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.706e-05/0.7932, allocations: 87.27 kB / 1.168 GB, free: 11.42 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.713e-06/0.7932, allocations: 0 / 1.168 GB, free: 11.42 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002407/0.7934, allocations: 23.94 kB / 1.168 GB, free: 11.39 MB / 0.92 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 (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 Backend phase and start with SimCode phase: time 0.0001638/0.7936, allocations: 115.2 kB / 1.168 GB, free: 11.27 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001321/0.7937, allocations: 15.98 kB / 1.168 GB, free: 11.26 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7938, allocations: 0 / 1.168 GB, free: 11.26 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.299e-05/0.7938, allocations: 8 kB / 1.168 GB, free: 11.25 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.7941, allocations: 4 kB / 1.168 GB, free: 11.25 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.7944, allocations: 173.5 kB / 1.168 GB, free: 11.05 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.7946, allocations: 0.6731 MB / 1.169 GB, free: 10.35 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.7947, allocations: 11.42 kB / 1.169 GB, free: 10.34 MB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.7947, allocations: 4 kB / 1.169 GB, free: 10.33 MB / 0.92 GB Notification: Performance of Templates: time 0.002271/0.797, allocations: 0.8018 MB / 1.17 GB, free: 9.531 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches