Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.374/2.374, allocations: 393.5 MB / 408.4 MB, free: 11.1 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 187.8 kB / 0.4902 GB, free: 2.32 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.727/1.727, allocations: 223.2 MB / 0.7992 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000987/0.0009871, allocations: 99.12 kB / 0.9396 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004183/0.0004183, allocations: 9.625 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3281, allocations: 143 MB / 1.229 GB, free: 85.52 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2185/0.5466, allocations: 150.4 MB / 1.376 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.547, allocations: 75.95 kB / 1.376 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.004566/0.5516, allocations: 1.528 MB / 1.378 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.825e-06/0.5516, allocations: 0 / 1.378 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.5516, allocations: 0 / 1.378 GB, free: 13.37 MB / 0.8855 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.0004889/0.5521, allocations: 335.4 kB / 1.378 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 8.699e-05/0.5522, allocations: 8.562 kB / 1.378 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000257/0.5525, allocations: 23.97 kB / 1.378 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.5526, allocations: 163 kB / 1.378 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.5527, allocations: 4 kB / 1.378 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.5527, allocations: 0 / 1.378 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.5528, allocations: 41.69 kB / 1.378 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.5529, allocations: 7.938 kB / 1.378 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.5529, allocations: 0 / 1.378 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.5529, allocations: 0 / 1.378 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.958e-05/0.5529, allocations: 15.98 kB / 1.378 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002327/0.5532, allocations: 165.7 kB / 1.378 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002053/0.5553, allocations: 270.4 kB / 1.379 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.5553, allocations: 0 / 1.379 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.805e-05/0.5553, allocations: 30.56 kB / 1.379 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.5553, allocations: 3.938 kB / 1.379 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0002093/0.5556, allocations: 65.88 kB / 1.379 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.5556, allocations: 55.41 kB / 1.379 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.055e-05/0.5557, allocations: 89 kB / 1.379 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.863e-05/0.5557, allocations: 29.7 kB / 1.379 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.5558, allocations: 80.14 kB / 1.379 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.5558, allocations: 7.891 kB / 1.379 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.5558, allocations: 0 / 1.379 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.556, allocations: 318.8 kB / 1.379 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.109e-05/0.556, allocations: 12.06 kB / 1.379 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.931e-05/0.5561, allocations: 19.92 kB / 1.379 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.533e-05/0.5561, allocations: 11.98 kB / 1.379 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.5561, allocations: 3.938 kB / 1.379 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.609e-05/0.5562, allocations: 53.61 kB / 1.379 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.5563, allocations: 4 kB / 1.379 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.5563, allocations: 3.984 kB / 1.379 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.5563, allocations: 4 kB / 1.379 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.198e-05/0.5564, allocations: 4 kB / 1.379 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.5564, allocations: 3.984 kB / 1.379 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.01e-05/0.5564, allocations: 0 / 1.379 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.5564, allocations: 8 kB / 1.379 GB, free: 11.35 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.858e-05/0.5565, allocations: 113.8 kB / 1.379 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-06/0.5565, allocations: 0 / 1.379 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.439e-05/0.5566, allocations: 7.5 kB / 1.379 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.5566, allocations: 4 kB / 1.379 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.5566, allocations: 0 / 1.379 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.5566, allocations: 3.984 kB / 1.379 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.5567, allocations: 157.6 kB / 1.38 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5568, allocations: 3.984 kB / 1.38 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.619e-05/0.5568, allocations: 11.94 kB / 1.38 GB, free: 11 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.5568, allocations: 4 kB / 1.38 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.5568, allocations: 0 / 1.38 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5568, allocations: 0 / 1.38 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.5568, allocations: 0 / 1.38 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.557, allocations: 73.12 kB / 1.38 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.754e-05/0.557, allocations: 92.97 kB / 1.38 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.5571, allocations: 3.984 kB / 1.38 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.907e-05/0.5571, allocations: 8 kB / 1.38 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.394e-05/0.5571, allocations: 0 / 1.38 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.5572, allocations: 4 kB / 1.38 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.115e-05/0.5572, allocations: 75.28 kB / 1.38 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5572, allocations: 0 / 1.38 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001856/0.5574, allocations: 8 kB / 1.38 GB, free: 10.7 MB / 0.8855 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 (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.0001359/0.5575, allocations: 111.1 kB / 1.38 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.79e-05/0.5576, allocations: 24.08 kB / 1.38 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5576, allocations: 0 / 1.38 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.183e-05/0.5577, allocations: 12 kB / 1.38 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.5579, allocations: 12.84 kB / 1.38 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003414/0.5582, allocations: 136.5 kB / 1.38 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.5585, allocations: 0.6809 MB / 1.381 GB, free: 9.66 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.414e-05/0.5586, allocations: 4.375 kB / 1.381 GB, free: 9.656 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.5586, allocations: 7.438 kB / 1.381 GB, free: 9.648 MB / 0.8855 GB Notification: Performance of SimCode: time 2.51e-07/0.5586, allocations: 0 / 1.381 GB, free: 9.648 MB / 0.8855 GB Notification: Performance of Templates: time 0.0026/0.5612, allocations: 477.9 kB / 1.381 GB, free: 9.188 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches