Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001636/0.001636, allocations: 195.3 kB / 16.26 MB, free: 6.621 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.374/1.374, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.638/2.638, allocations: 437 MB / 0.71 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 63.89 kB / 0.8687 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6579/0.6593, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002599/0.662, allocations: 1.334 MB / 1.018 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000657/0.6627, allocations: 287.1 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.427e-05/0.6627, allocations: 0 / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.011e-05/0.6627, allocations: 0 / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.952e-05/0.6628, allocations: 11.92 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.6631, allocations: 39.83 kB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.132e-05/0.6632, allocations: 23.86 kB / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.17e-05/0.6632, allocations: 4 kB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.989e-05/0.6633, allocations: 8 kB / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.233e-05/0.6633, allocations: 7.984 kB / 1.018 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.6634, allocations: 0 / 1.018 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.6635, allocations: 51.95 kB / 1.018 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.6635, allocations: 3.938 kB / 1.018 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.491e-05/0.6635, allocations: 8 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.6637, allocations: 53.84 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.6637, allocations: 0 / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.166e-06/0.6637, allocations: 0 / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.6637, allocations: 3.938 kB / 1.019 GB, free: 0.8672 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004263/0.6641, allocations: 343.4 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.6642, allocations: 12.03 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002232/0.6644, allocations: 12.92 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.93e-05/0.6645, allocations: 168.4 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.6645, allocations: 384 / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-06/0.6645, allocations: 384 / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.6646, allocations: 46.25 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.6647, allocations: 192 / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.6647, allocations: 7.938 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.6647, allocations: 3.938 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.826e-05/0.6647, allocations: 16 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000164/0.6649, allocations: 157.6 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/0.6668, allocations: 270.4 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.093e-05/0.6669, allocations: 24.84 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.6669, allocations: 0 / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.6669, allocations: 30.56 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.6669, allocations: 0 / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001656/0.6671, allocations: 69.56 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.6672, allocations: 55.41 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.302e-05/0.6672, allocations: 93.8 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.6672, allocations: 33.7 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.555e-05/0.6673, allocations: 80.14 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.6673, allocations: 15.73 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.6673, allocations: 17.72 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.6675, allocations: 310.8 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.1e-05/0.6675, allocations: 12.12 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.777e-05/0.6675, allocations: 11.98 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.391e-05/0.6676, allocations: 20.86 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.6676, allocations: 0 / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001093/0.6677, allocations: 57.62 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.6677, allocations: 8 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.6677, allocations: 3.938 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.6677, allocations: 0 / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.825e-05/0.6678, allocations: 8 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.6678, allocations: 0 / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.969e-05/0.6678, allocations: 4 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.6678, allocations: 4 kB / 1.02 GB, free: 14.78 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 (4): * Single equations (assignments): 4 * 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.661e-05/0.6679, allocations: 109.8 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.6679, allocations: 3.906 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.07e-05/0.668, allocations: 15.44 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.668, allocations: 0 / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.668, allocations: 0 / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.668, allocations: 0 / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.6681, allocations: 161.7 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6681, allocations: 4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.548e-05/0.6682, allocations: 8 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.6682, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.6682, allocations: 7.875 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.6682, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.6682, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.6683, allocations: 81.44 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.836e-05/0.6684, allocations: 85.09 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.6684, allocations: 7.922 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.139e-05/0.6685, allocations: 7.938 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.534e-05/0.6685, allocations: 8 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.6685, allocations: 3.984 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.076e-05/0.6686, allocations: 75.28 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6686, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001827/0.6688, allocations: 8 kB / 1.021 GB, free: 14.11 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 (4): * Single equations (assignments): 4 * 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.0001021/0.6689, allocations: 99.23 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.174e-05/0.669, allocations: 36.02 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.669, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.158e-05/0.669, allocations: 12 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.6692, allocations: 7.984 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002955/0.6695, allocations: 142.5 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.6698, allocations: 0.6768 MB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.725e-05/0.6698, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.415e-05/0.6698, allocations: 11.44 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.6698, allocations: 4 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of Templates: time 0.00241/0.6723, allocations: 0.5072 MB / 1.022 GB, free: 12.57 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches