Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.033/2.033, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001066/0.001065, allocations: 180.6 kB / 487.4 MB, free: 5.066 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.445/1.445, allocations: 221.5 MB / 0.7824 GB, free: 1.031 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 102.5 kB / 0.9219 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.921e-05/1.935e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2852, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8811/1.166, allocations: 149.9 MB / 1.352 GB, free: 18.22 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/1.167, allocations: 80.42 kB / 1.352 GB, free: 18.22 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01746/1.184, allocations: 6.232 MB / 1.359 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.292e-06/1.184, allocations: 0 / 1.359 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.923e-06/1.184, allocations: 0 / 1.359 GB, free: 33.57 MB / 0.8386 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.0003344/1.185, allocations: 362 kB / 1.359 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/1.185, allocations: 12.06 kB / 1.359 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/1.185, allocations: 6.234 kB / 1.359 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.991e-05/1.185, allocations: 168.4 kB / 1.359 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/1.185, allocations: 3.938 kB / 1.359 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/1.185, allocations: 7.953 kB / 1.359 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.62e-05/1.185, allocations: 14 kB / 1.359 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.292e-05/1.185, allocations: 44.73 kB / 1.359 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/1.185, allocations: 4 kB / 1.359 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/1.185, allocations: 0 / 1.359 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/1.185, allocations: 0 / 1.359 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001197/1.185, allocations: 137.2 kB / 1.359 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007532/1.186, allocations: 125 kB / 1.359 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/1.186, allocations: 15.86 kB / 1.359 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.626e-05/1.186, allocations: 83.53 kB / 1.359 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/1.186, allocations: 34.44 kB / 1.36 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/1.186, allocations: 0 / 1.36 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001526/1.186, allocations: 61.09 kB / 1.36 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.925e-05/1.186, allocations: 52.81 kB / 1.36 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.908e-05/1.186, allocations: 89 kB / 1.36 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/1.187, allocations: 25.7 kB / 1.36 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.182e-05/1.187, allocations: 83.98 kB / 1.36 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/1.187, allocations: 9.125 kB / 1.36 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/1.187, allocations: 0 / 1.36 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.592e-05/1.187, allocations: 310.8 kB / 1.36 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.71e-05/1.187, allocations: 8.812 kB / 1.36 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.196e-05/1.187, allocations: 7.812 kB / 1.36 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.981e-05/1.187, allocations: 10.44 kB / 1.36 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.187, allocations: 4.125 kB / 1.36 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.203e-05/1.187, allocations: 62.42 kB / 1.36 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/1.187, allocations: 7.781 kB / 1.36 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/1.187, allocations: 0 / 1.36 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/1.187, allocations: 0 / 1.36 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.2e-05/1.187, allocations: 13.05 kB / 1.36 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/1.187, allocations: 0 / 1.36 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.718e-05/1.187, allocations: 3.938 kB / 1.36 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/1.187, allocations: 5.391 kB / 1.36 GB, free: 31.94 MB / 0.8386 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 5.804e-05/1.187, allocations: 112.9 kB / 1.36 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-06/1.187, allocations: 3.953 kB / 1.36 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002166/1.187, allocations: 73.86 kB / 1.36 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/1.187, allocations: 0 / 1.36 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/1.187, allocations: 1.828 kB / 1.36 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/1.187, allocations: 4 kB / 1.36 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.294e-05/1.187, allocations: 136 kB / 1.361 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.187, allocations: 4.062 kB / 1.361 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.57e-05/1.187, allocations: 9.234 kB / 1.361 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/1.187, allocations: 3.844 kB / 1.361 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/1.187, allocations: 3.984 kB / 1.361 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/1.187, allocations: 3.953 kB / 1.361 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.187, allocations: 0 / 1.361 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/1.188, allocations: 88.48 kB / 1.361 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/1.188, allocations: 83.73 kB / 1.361 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/1.188, allocations: 4.125 kB / 1.361 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.921e-05/1.188, allocations: 0 / 1.361 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.46e-05/1.188, allocations: 9.203 kB / 1.361 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/1.188, allocations: 3.562 kB / 1.361 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.888e-05/1.188, allocations: 80.72 kB / 1.361 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.188, allocations: 0 / 1.361 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002332/1.188, allocations: 47.72 kB / 1.361 GB, free: 31.35 MB / 0.8386 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 (5): * Single equations (assignments): 5 * 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.0003503/1.188, allocations: 183.1 kB / 1.361 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.826e-05/1.188, allocations: 24.19 kB / 1.361 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.188, allocations: 0 / 1.361 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.755e-05/1.188, allocations: 14.97 kB / 1.361 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001221/1.189, allocations: 5.25 kB / 1.361 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002209/1.189, allocations: 78.61 kB / 1.361 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/1.189, allocations: 0.6772 MB / 1.362 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.084e-05/1.189, allocations: 13.23 kB / 1.362 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.187e-05/1.189, allocations: 11 kB / 1.362 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.189, allocations: 0 / 1.362 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of Templates: time 0.002874/1.192, allocations: 0.9903 MB / 1.363 GB, free: 30.36 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches