Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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_comparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p_w|p_w_ashrae|r_p",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p_w|p_w_ashrae|r_p",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.18/2.18, allocations: 387.1 MB / 399.7 MB, free: 9.484 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.00101/0.00101, allocations: 176.9 kB / 492.3 MB, free: 0.6172 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.529/1.529, allocations: 221.3 MB / 0.7871 GB, free: 12.87 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.0008716/0.0008715, allocations: 106.5 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.178e-05/3.181e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2402, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9335/1.174, allocations: 150.4 MB / 1.359 GB, free: 18.86 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/1.174, allocations: 83 kB / 1.359 GB, free: 18.85 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007153/1.181, allocations: 2.489 MB / 1.362 GB, free: 34.42 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.582e-06/1.181, allocations: 1.312 kB / 1.362 GB, free: 34.42 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.553e-06/1.181, allocations: 4 kB / 1.362 GB, free: 34.42 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002793/1.182, allocations: 351.2 kB / 1.362 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/1.182, allocations: 7.812 kB / 1.362 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/1.182, allocations: 14.2 kB / 1.362 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.364e-05/1.182, allocations: 176.6 kB / 1.362 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/1.182, allocations: 5.062 kB / 1.362 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/1.182, allocations: 0 / 1.362 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/1.182, allocations: 51.95 kB / 1.362 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/1.182, allocations: 4 kB / 1.362 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/1.182, allocations: 3.938 kB / 1.362 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/1.182, allocations: 0 / 1.362 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.525e-05/1.182, allocations: 24.33 kB / 1.362 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/1.182, allocations: 164.9 kB / 1.363 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/1.182, allocations: 57.09 kB / 1.363 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.091e-05/1.182, allocations: 28.84 kB / 1.363 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/1.182, allocations: 4 kB / 1.363 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/1.182, allocations: 34.12 kB / 1.363 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/1.182, allocations: 0 / 1.363 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.000152/1.183, allocations: 65.39 kB / 1.363 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/1.183, allocations: 51.41 kB / 1.363 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.153e-05/1.183, allocations: 85 kB / 1.363 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/1.183, allocations: 25.7 kB / 1.363 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.38e-05/1.183, allocations: 88.08 kB / 1.363 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/1.183, allocations: 19.66 kB / 1.363 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/1.183, allocations: 2.875 kB / 1.363 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.419e-05/1.183, allocations: 316.3 kB / 1.363 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.161e-05/1.183, allocations: 7.312 kB / 1.363 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.969e-05/1.183, allocations: 16.59 kB / 1.363 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.127e-05/1.183, allocations: 20.56 kB / 1.363 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.183, allocations: 0 / 1.363 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.977e-05/1.183, allocations: 62.45 kB / 1.363 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/1.183, allocations: 6.375 kB / 1.363 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/1.183, allocations: 4 kB / 1.363 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/1.183, allocations: 3.938 kB / 1.363 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/1.183, allocations: 14.39 kB / 1.363 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/1.183, allocations: 0 / 1.363 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.162e-05/1.183, allocations: 7.625 kB / 1.363 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/1.183, allocations: 1.312 kB / 1.363 GB, free: 32.86 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 (6): * Single equations (assignments): 6 * 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.681e-05/1.183, allocations: 112.8 kB / 1.364 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-06/1.183, allocations: 0 / 1.364 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002042/1.184, allocations: 96.36 kB / 1.364 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/1.184, allocations: 0 / 1.364 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/1.184, allocations: 0 / 1.364 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/1.184, allocations: 1.406 kB / 1.364 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.384e-05/1.184, allocations: 171.4 kB / 1.364 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/1.184, allocations: 3.953 kB / 1.364 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.294e-05/1.184, allocations: 18.17 kB / 1.364 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/1.184, allocations: 4 kB / 1.364 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/1.184, allocations: 1.266 kB / 1.364 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/1.184, allocations: 0 / 1.364 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.184, allocations: 4.484 kB / 1.364 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/1.184, allocations: 98.02 kB / 1.364 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/1.184, allocations: 91.97 kB / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/1.184, allocations: 3.625 kB / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.444e-05/1.184, allocations: 0 / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.08e-05/1.184, allocations: 9.344 kB / 1.364 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/1.184, allocations: 1.688 kB / 1.364 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.314e-05/1.184, allocations: 79.25 kB / 1.364 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.184, allocations: 0 / 1.364 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001747/1.184, allocations: 10.91 kB / 1.364 GB, free: 32.24 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 (7): * Single equations (assignments): 7 * 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.0001031/1.185, allocations: 100.3 kB / 1.364 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.824e-05/1.185, allocations: 40.14 kB / 1.364 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.185, allocations: 4.094 kB / 1.364 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.525e-05/1.185, allocations: 18.66 kB / 1.364 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/1.185, allocations: 4.781 kB / 1.364 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002165/1.185, allocations: 78.7 kB / 1.364 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/1.185, allocations: 0.6815 MB / 1.365 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.656e-05/1.185, allocations: 5.859 kB / 1.365 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.913e-05/1.185, allocations: 16.58 kB / 1.365 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of SimCode: time 3.9e-07/1.185, allocations: 0 / 1.365 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of Templates: time 0.002332/1.188, allocations: 0.5148 MB / 1.365 GB, free: 31.31 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches