Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.522/1.522, allocations: 249.5 MB / 257 MB, free: 6.863 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 184.8 kB / 316.3 MB, free: 3.281 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 205.3 MB / 0.5671 GB, free: 15.94 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009391/0.0009389, allocations: 98.81 kB / 0.6714 GB, free: 5.059 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.261e-05/2.264e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3638, allocations: 106.3 MB / 0.8852 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9702/1.334, allocations: 132.2 MB / 1.014 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000363/1.335, allocations: 79.12 kB / 1.014 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00433/1.339, allocations: 1.468 MB / 1.016 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.663e-06/1.339, allocations: 0 / 1.016 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.819e-06/1.339, allocations: 4 kB / 1.016 GB, free: 4.395 MB / 0.6355 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.0003134/1.339, allocations: 334.3 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/1.339, allocations: 12.02 kB / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002108/1.34, allocations: 16.73 kB / 1.016 GB, free: 4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/1.34, allocations: 163 kB / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/1.34, allocations: 0 / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/1.34, allocations: 4 kB / 1.016 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.76e-05/1.34, allocations: 20.67 kB / 1.016 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.719e-05/1.34, allocations: 37.27 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/1.34, allocations: 0 / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/1.34, allocations: 4 kB / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/1.34, allocations: 3.938 kB / 1.016 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/1.34, allocations: 138.1 kB / 1.016 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/1.342, allocations: 266.2 kB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.898e-05/1.342, allocations: 20.48 kB / 1.017 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/1.342, allocations: 0 / 1.017 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/1.342, allocations: 34.56 kB / 1.017 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.234e-06/1.342, allocations: 4 kB / 1.017 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.000139/1.342, allocations: 49.53 kB / 1.017 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/1.342, allocations: 51.41 kB / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.876e-05/1.342, allocations: 88.94 kB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/1.342, allocations: 29.7 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.405e-05/1.342, allocations: 80.14 kB / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/1.342, allocations: 11.75 kB / 1.017 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-06/1.342, allocations: 0 / 1.017 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001247/1.343, allocations: 319 kB / 1.017 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.79e-05/1.343, allocations: 7.875 kB / 1.017 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.35e-05/1.343, allocations: 11.75 kB / 1.017 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.912e-05/1.343, allocations: 4 kB / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/1.343, allocations: 0 / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.783e-05/1.343, allocations: 65.33 kB / 1.017 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/1.343, allocations: 8 kB / 1.018 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.343, allocations: 3.938 kB / 1.018 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/1.343, allocations: 0 / 1.018 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.26e-05/1.343, allocations: 4 kB / 1.018 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/1.343, allocations: 4 kB / 1.018 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.862e-05/1.343, allocations: 4 kB / 1.018 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/1.343, allocations: 0 / 1.018 GB, free: 2.492 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.774e-05/1.343, allocations: 105 kB / 1.018 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/1.343, allocations: 7.859 kB / 1.018 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.556e-05/1.343, allocations: 11.94 kB / 1.018 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/1.343, allocations: 0 / 1.018 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/1.343, allocations: 0 / 1.018 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/1.343, allocations: 0 / 1.018 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/1.343, allocations: 138 kB / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/1.343, allocations: 0 / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/1.343, allocations: 4 kB / 1.018 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/1.343, allocations: 4 kB / 1.018 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/1.343, allocations: 3.953 kB / 1.018 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/1.343, allocations: 0 / 1.018 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.343, allocations: 0 / 1.018 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.934e-05/1.343, allocations: 76.88 kB / 1.018 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.588e-05/1.343, allocations: 85.09 kB / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/1.343, allocations: 3.938 kB / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.731e-05/1.343, allocations: 7.953 kB / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/1.344, allocations: 0 / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/1.344, allocations: 0 / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.128e-05/1.344, allocations: 79.28 kB / 1.018 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.51e-07/1.344, allocations: 0 / 1.018 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001738/1.344, allocations: 4 kB / 1.018 GB, free: 1.898 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001213/1.344, allocations: 103.3 kB / 1.018 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.16e-05/1.344, allocations: 27.56 kB / 1.018 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.344, allocations: 0 / 1.018 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.747e-05/1.344, allocations: 11.81 kB / 1.018 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/1.344, allocations: 14.45 kB / 1.018 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002152/1.344, allocations: 65.12 kB / 1.018 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/1.345, allocations: 0.6846 MB / 1.019 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.843e-05/1.345, allocations: 3.859 kB / 1.019 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.389e-05/1.345, allocations: 11.44 kB / 1.019 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/1.345, allocations: 0 / 1.019 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of Templates: time 0.002285/1.347, allocations: 477.8 kB / 1.019 GB, free: 500 kB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches