Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.372/2.372, allocations: 390.3 MB / 405.3 MB, free: 13.36 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.001364/0.001364, allocations: 174.8 kB / 498.1 MB, free: 5.621 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.537/1.537, allocations: 223.2 MB / 0.7948 GB, free: 17.84 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.001104/0.001104, allocations: 102.5 kB / 0.9346 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004836/0.0004841, allocations: 11.22 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3497, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2012/0.551, allocations: 149.6 MB / 1.369 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.5513, allocations: 79.95 kB / 1.369 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003974/0.5553, allocations: 1.522 MB / 1.37 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5553, allocations: 0 / 1.37 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.5553, allocations: 0 / 1.37 GB, free: 10.89 MB / 0.8698 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.000371/0.5557, allocations: 339.4 kB / 1.371 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.5557, allocations: 8.031 kB / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002258/0.556, allocations: 19.97 kB / 1.371 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.5561, allocations: 167 kB / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.5561, allocations: 0 / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.5561, allocations: 0 / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.5563, allocations: 41.69 kB / 1.371 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.5563, allocations: 7.938 kB / 1.371 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.5563, allocations: 4 kB / 1.371 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.5563, allocations: 4 kB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.974e-05/0.5564, allocations: 15.98 kB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.5566, allocations: 157.7 kB / 1.371 GB, free: 9.996 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/0.5586, allocations: 270.4 kB / 1.371 GB, free: 9.723 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.5586, allocations: 4 kB / 1.371 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.5586, allocations: 30.56 kB / 1.372 GB, free: 9.68 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 2.736e-06/0.5586, allocations: 3.938 kB / 1.372 GB, free: 9.676 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0001789/0.5588, allocations: 69.62 kB / 1.372 GB, free: 9.602 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.5589, allocations: 55.41 kB / 1.372 GB, free: 9.535 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.006e-05/0.559, allocations: 85 kB / 1.372 GB, free: 9.445 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.559, allocations: 25.7 kB / 1.372 GB, free: 9.414 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.559, allocations: 84.14 kB / 1.372 GB, free: 9.328 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.5591, allocations: 7.891 kB / 1.372 GB, free: 9.32 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/0.5591, allocations: 4 kB / 1.372 GB, free: 9.316 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.5592, allocations: 314.8 kB / 1.372 GB, free: 9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.019e-05/0.5592, allocations: 8.125 kB / 1.372 GB, free: 8.992 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.584e-05/0.5593, allocations: 12 kB / 1.372 GB, free: 8.98 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.067e-05/0.5593, allocations: 12.27 kB / 1.372 GB, free: 8.969 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5593, allocations: 3.938 kB / 1.372 GB, free: 8.965 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.902e-05/0.5594, allocations: 57.59 kB / 1.372 GB, free: 8.902 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.5594, allocations: 7.984 kB / 1.372 GB, free: 8.895 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.5594, allocations: 4 kB / 1.372 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.5595, allocations: 0 / 1.372 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.298e-05/0.5595, allocations: 4 kB / 1.372 GB, free: 8.887 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.5595, allocations: 4 kB / 1.372 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.099e-05/0.5596, allocations: 3.938 kB / 1.372 GB, free: 8.879 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.5596, allocations: 8 kB / 1.372 GB, free: 8.871 MB / 0.8698 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 0.0001026/0.5597, allocations: 113.8 kB / 1.372 GB, free: 8.75 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-06/0.5597, allocations: 0 / 1.372 GB, free: 8.75 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.14e-05/0.5598, allocations: 7.5 kB / 1.372 GB, free: 8.738 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.5598, allocations: 0 / 1.372 GB, free: 8.738 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.5598, allocations: 3.984 kB / 1.372 GB, free: 8.734 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5598, allocations: 0 / 1.372 GB, free: 8.734 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.5599, allocations: 157.6 kB / 1.373 GB, free: 8.531 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.56, allocations: 3.984 kB / 1.373 GB, free: 8.527 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.947e-05/0.56, allocations: 11.94 kB / 1.373 GB, free: 8.516 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.56, allocations: 0 / 1.373 GB, free: 8.516 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.56, allocations: 0 / 1.373 GB, free: 8.516 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.56, allocations: 0 / 1.373 GB, free: 8.516 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5601, allocations: 4 kB / 1.373 GB, free: 8.512 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.5602, allocations: 77.12 kB / 1.373 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.5603, allocations: 92.84 kB / 1.373 GB, free: 8.309 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.5603, allocations: 3.984 kB / 1.373 GB, free: 8.305 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.093e-05/0.5604, allocations: 8 kB / 1.373 GB, free: 8.297 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.683e-05/0.5604, allocations: 0 / 1.373 GB, free: 8.297 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.5604, allocations: 0 / 1.373 GB, free: 8.297 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.55e-05/0.5605, allocations: 83.28 kB / 1.373 GB, free: 8.215 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5605, allocations: 0 / 1.373 GB, free: 8.215 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001742/0.5607, allocations: 4 kB / 1.373 GB, free: 8.211 MB / 0.8698 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.000139/0.5608, allocations: 103 kB / 1.373 GB, free: 8.102 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.5609, allocations: 32.08 kB / 1.373 GB, free: 8.07 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5609, allocations: 0 / 1.373 GB, free: 8.07 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.305e-05/0.561, allocations: 11.98 kB / 1.373 GB, free: 8.059 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.5612, allocations: 10.31 kB / 1.373 GB, free: 8.051 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003221/0.5615, allocations: 132.5 kB / 1.373 GB, free: 7.891 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.5617, allocations: 0.6809 MB / 1.374 GB, free: 7.184 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.853e-05/0.5618, allocations: 0 / 1.374 GB, free: 7.184 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.486e-05/0.5618, allocations: 11.44 kB / 1.374 GB, free: 7.172 MB / 0.8698 GB Notification: Performance of SimCode: time 2.4e-07/0.5618, allocations: 0 / 1.374 GB, free: 7.172 MB / 0.8698 GB Notification: Performance of Templates: time 0.002247/0.5641, allocations: 490.8 kB / 1.374 GB, free: 6.699 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches