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.443/1.443, allocations: 249.3 MB / 261.8 MB, free: 5.945 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.001001/0.001001, allocations: 172.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.147/2.147, allocations: 205.2 MB / 0.572 GB, free: 10.71 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.000764/0.0007642, allocations: 92.31 kB / 0.6764 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.423e-05/3.424e-05, allocations: 4 kB / 0.7879 GB, free: 97.13 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2494, allocations: 106.3 MB / 0.8918 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9171/1.167, allocations: 131.9 MB / 1.021 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/1.167, allocations: 80.44 kB / 1.021 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00395/1.171, allocations: 1.476 MB / 1.022 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.263e-06/1.171, allocations: 0 / 1.022 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.258e-06/1.171, allocations: 4 kB / 1.022 GB, free: 1.555 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.0002553/1.171, allocations: 334.1 kB / 1.022 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/1.171, allocations: 12.02 kB / 1.022 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/1.171, allocations: 15.98 kB / 1.022 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/1.172, allocations: 163 kB / 1.023 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/1.172, allocations: 2.375 kB / 1.023 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/1.172, allocations: 4 kB / 1.023 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.925e-05/1.172, allocations: 52.81 kB / 1.023 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.699e-06/1.172, allocations: 0 / 1.023 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-06/1.172, allocations: 0 / 1.023 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-06/1.172, allocations: 0 / 1.023 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.469e-05/1.172, allocations: 17.61 kB / 1.023 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/1.172, allocations: 155.9 kB / 1.023 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/1.174, allocations: 273.3 kB / 1.023 GB, free: 440 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.462e-05/1.174, allocations: 23.92 kB / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/1.174, allocations: 0 / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/1.174, allocations: 34.56 kB / 1.023 GB, free: 372 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/1.174, allocations: 0 / 1.023 GB, free: 372 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001346/1.174, allocations: 57.02 kB / 1.023 GB, free: 316 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/1.174, allocations: 51.41 kB / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.664e-05/1.174, allocations: 88.12 kB / 1.023 GB, free: 160 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/1.174, allocations: 29.7 kB / 1.023 GB, free: 124 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/1.174, allocations: 80.14 kB / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/1.174, allocations: 19.72 kB / 1.023 GB, free: 20 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/1.174, allocations: 3.688 kB / 1.023 GB, free: 20 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001558/1.174, allocations: 314.8 kB / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.221e-05/1.174, allocations: 10.19 kB / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.741e-05/1.174, allocations: 11.5 kB / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.293e-05/1.174, allocations: 7.953 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.174, allocations: 0 / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.291e-05/1.175, allocations: 59.06 kB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/1.175, allocations: 8 kB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/1.175, allocations: 0 / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/1.175, allocations: 0 / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.464e-05/1.175, allocations: 11.98 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/1.175, allocations: 0 / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.931e-05/1.175, allocations: 4 kB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-06/1.175, allocations: 0 / 1.024 GB, free: 15.6 MB / 0.6511 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 8.565e-05/1.175, allocations: 104.9 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/1.175, allocations: 3.906 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.835e-05/1.175, allocations: 18 kB / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/1.175, allocations: 0 / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/1.175, allocations: 0 / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-06/1.175, allocations: 4 kB / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/1.175, allocations: 153.2 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/1.175, allocations: 4.828 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.294e-05/1.175, allocations: 8 kB / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/1.175, allocations: 3.984 kB / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/1.175, allocations: 0 / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/1.175, allocations: 3.938 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.175, allocations: 4 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/1.175, allocations: 78.62 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.532e-05/1.175, allocations: 85.06 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.787e-06/1.175, allocations: 0 / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.253e-05/1.175, allocations: 0 / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.98e-05/1.175, allocations: 11.11 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.748e-06/1.175, allocations: 3.938 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.452e-05/1.175, allocations: 75.28 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.175, allocations: 0 / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001533/1.176, allocations: 8 kB / 1.024 GB, free: 14.97 MB / 0.6511 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.0001298/1.176, allocations: 99.34 kB / 1.025 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 6.632e-05/1.176, allocations: 22.31 kB / 1.025 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.176, allocations: 0 / 1.025 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.546e-05/1.176, allocations: 14.25 kB / 1.025 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/1.176, allocations: 19.86 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000176/1.176, allocations: 72.23 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/1.177, allocations: 0.6809 MB / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.772e-05/1.177, allocations: 4.281 kB / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/1.177, allocations: 7.438 kB / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of SimCode: time 5.31e-07/1.177, allocations: 8 kB / 1.025 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of Templates: time 0.002208/1.179, allocations: 485.6 kB / 1.026 GB, free: 13.55 MB / 0.6511 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