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.334/1.334, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 183.1 kB / 326.5 MB, free: 2.262 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.775/1.775, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008959/0.0008957, allocations: 87.73 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003418, allocations: 9 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2458, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1848/0.4307, allocations: 132 MB / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.431, allocations: 71.95 kB / 1.029 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004033/0.435, allocations: 1.48 MB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.064e-06/0.435, allocations: 4 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.4351, allocations: 4 kB / 1.03 GB, free: 10.25 MB / 0.6823 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.0003156/0.4354, allocations: 331.3 kB / 1.031 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.4354, allocations: 12.03 kB / 1.031 GB, free: 9.863 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.4356, allocations: 15.97 kB / 1.031 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.4358, allocations: 171 kB / 1.031 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.4358, allocations: 4 kB / 1.031 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.4358, allocations: 0 / 1.031 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.4359, allocations: 45.69 kB / 1.031 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.4359, allocations: 0 / 1.031 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.436, allocations: 4 kB / 1.031 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.436, allocations: 0 / 1.031 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.008e-05/0.436, allocations: 15.98 kB / 1.031 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.4362, allocations: 165.6 kB / 1.031 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/0.4382, allocations: 274.4 kB / 1.031 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.4382, allocations: 0 / 1.031 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.4382, allocations: 34.56 kB / 1.032 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.4383, allocations: 0 / 1.032 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0001801/0.4384, allocations: 61.78 kB / 1.032 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.4385, allocations: 55.41 kB / 1.032 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.334e-05/0.4386, allocations: 88.98 kB / 1.032 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.4386, allocations: 29.64 kB / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.206e-05/0.4386, allocations: 84.08 kB / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.4387, allocations: 19.75 kB / 1.032 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-06/0.4387, allocations: 3.938 kB / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.4388, allocations: 310.8 kB / 1.032 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.052e-05/0.4388, allocations: 12.12 kB / 1.032 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.916e-05/0.4389, allocations: 11.98 kB / 1.032 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.662e-05/0.4389, allocations: 12 kB / 1.032 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.4389, allocations: 3.953 kB / 1.032 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.823e-05/0.439, allocations: 49.69 kB / 1.032 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.439, allocations: 8 kB / 1.032 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.439, allocations: 0 / 1.032 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.4391, allocations: 0 / 1.032 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.05e-05/0.4391, allocations: 4 kB / 1.032 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.4391, allocations: 3.938 kB / 1.032 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.073e-05/0.4392, allocations: 8 kB / 1.032 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.4392, allocations: 0 / 1.032 GB, free: 8.234 MB / 0.6823 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 7.747e-05/0.4393, allocations: 105.8 kB / 1.032 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.4393, allocations: 7.953 kB / 1.032 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.274e-05/0.4393, allocations: 11.48 kB / 1.032 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.4393, allocations: 0 / 1.032 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4393, allocations: 0 / 1.032 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.4394, allocations: 0 / 1.032 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.4395, allocations: 165.6 kB / 1.033 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4395, allocations: 4 kB / 1.033 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-05/0.4395, allocations: 11.95 kB / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4396, allocations: 0 / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.4396, allocations: 0 / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4396, allocations: 0 / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4396, allocations: 0 / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.4397, allocations: 77.06 kB / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.605e-05/0.4398, allocations: 85.09 kB / 1.033 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.4398, allocations: 7.953 kB / 1.033 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.878e-05/0.4399, allocations: 4.672 kB / 1.033 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.938e-05/0.4399, allocations: 4.375 kB / 1.033 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.4399, allocations: 3.938 kB / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.95e-05/0.4399, allocations: 75.28 kB / 1.033 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4399, allocations: 0 / 1.033 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001846/0.4401, allocations: 8 kB / 1.033 GB, free: 7.574 MB / 0.6823 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.0001147/0.4403, allocations: 99.23 kB / 1.033 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.148e-05/0.4404, allocations: 32.08 kB / 1.033 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4404, allocations: 0 / 1.033 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.641e-05/0.4404, allocations: 19.92 kB / 1.033 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.4406, allocations: 7.938 kB / 1.033 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003131/0.4409, allocations: 132.8 kB / 1.033 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.4412, allocations: 0.6848 MB / 1.034 GB, free: 6.539 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.404e-05/0.4413, allocations: 3.859 kB / 1.034 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.4413, allocations: 11.44 kB / 1.034 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of SimCode: time 3.11e-07/0.4413, allocations: 4 kB / 1.034 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of Templates: time 0.00228/0.4436, allocations: 479 kB / 1.034 GB, free: 6.059 MB / 0.6823 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