Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 108.7 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 189.2 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.727/2.727, allocations: 482.4 MB / 0.755 GB, free: 7.105 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 71.81 kB / 0.924 GB, free: 308 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8766/0.8787, allocations: 162.2 MB / 1.082 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002324/0.8811, allocations: 1.34 MB / 1.084 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.8823, allocations: 0.7613 MB / 1.084 GB, free: 136 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.474e-05/0.8823, allocations: 4.531 kB / 1.084 GB, free: 132 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.486e-05/0.8824, allocations: 0.7969 kB / 1.084 GB, free: 132 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.169e-05/0.8825, allocations: 2.609 kB / 1.084 GB, free: 132 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000553/0.883, allocations: 155 kB / 1.085 GB, free: 60 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.491e-05/0.8831, allocations: 21.08 kB / 1.085 GB, free: 52 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.793e-05/0.8831, allocations: 3.484 kB / 1.085 GB, free: 52 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.847e-05/0.8832, allocations: 14.31 kB / 1.085 GB, free: 44 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.635e-05/0.8832, allocations: 14.31 kB / 1.085 GB, free: 36 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.8832, allocations: 1.844 kB / 1.085 GB, free: 36 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005147/0.8838, allocations: 288.4 kB / 1.085 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.8838, allocations: 2.375 kB / 1.085 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.143e-05/0.8838, allocations: 14.31 kB / 1.085 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.8841, allocations: 111.2 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.8841, allocations: 0 / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8841, allocations: 0 / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.8841, allocations: 1.062 kB / 1.085 GB, free: 15.91 MB / 0.8419 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.0004958/0.8846, allocations: 361.9 kB / 1.085 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.8847, allocations: 9.031 kB / 1.085 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002493/0.8849, allocations: 19.45 kB / 1.085 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.8851, allocations: 187.1 kB / 1.086 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.8851, allocations: 1.531 kB / 1.086 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.8851, allocations: 1.844 kB / 1.086 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.8852, allocations: 50.03 kB / 1.086 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.8853, allocations: 1.188 kB / 1.086 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.8853, allocations: 7.922 kB / 1.086 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.8853, allocations: 1.062 kB / 1.086 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.863e-05/0.8854, allocations: 25.31 kB / 1.086 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.8856, allocations: 160.1 kB / 1.086 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.8857, allocations: 69.45 kB / 1.086 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.988e-05/0.8858, allocations: 22.03 kB / 1.086 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.8858, allocations: 1.719 kB / 1.086 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.8858, allocations: 36.41 kB / 1.086 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.8858, allocations: 0 / 1.086 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.0002006/0.886, allocations: 74.2 kB / 1.086 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.8861, allocations: 60.92 kB / 1.086 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.254e-05/0.8862, allocations: 95.75 kB / 1.086 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.8862, allocations: 26.73 kB / 1.086 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.472e-05/0.8862, allocations: 80.14 kB / 1.086 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.8863, allocations: 24.88 kB / 1.086 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.8863, allocations: 19.25 kB / 1.086 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.8865, allocations: 313.9 kB / 1.087 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.897e-05/0.8865, allocations: 10.47 kB / 1.087 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.543e-05/0.8865, allocations: 16.86 kB / 1.087 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.861e-05/0.8866, allocations: 33.86 kB / 1.087 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8866, allocations: 0.5625 kB / 1.087 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001089/0.8867, allocations: 59.19 kB / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.8868, allocations: 8.484 kB / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.8868, allocations: 7.875 kB / 1.087 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.8868, allocations: 1.156 kB / 1.087 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.8869, allocations: 17.5 kB / 1.087 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.887, allocations: 1.938 kB / 1.087 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.851e-05/0.887, allocations: 5.438 kB / 1.087 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.887, allocations: 5.547 kB / 1.087 GB, free: 14.19 MB / 0.8419 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.15e-05/0.8871, allocations: 108.2 kB / 1.087 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.8871, allocations: 13.66 kB / 1.087 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.8874, allocations: 97.25 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.8874, allocations: 1.5 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.8874, allocations: 4 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.8874, allocations: 1.969 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.8876, allocations: 165.5 kB / 1.087 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.8876, allocations: 0.75 kB / 1.087 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.8877, allocations: 14.94 kB / 1.087 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.8877, allocations: 1.781 kB / 1.087 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.8877, allocations: 3.938 kB / 1.087 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.8877, allocations: 1.969 kB / 1.087 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.8877, allocations: 0 / 1.087 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.8879, allocations: 101.1 kB / 1.087 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.189e-05/0.888, allocations: 93.19 kB / 1.087 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.888, allocations: 6.516 kB / 1.087 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.975e-05/0.8881, allocations: 0.625 kB / 1.087 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.543e-05/0.8881, allocations: 3.875 kB / 1.087 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.8881, allocations: 2.594 kB / 1.087 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.768e-05/0.8882, allocations: 77.16 kB / 1.087 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8882, allocations: 0 / 1.087 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001937/0.8884, allocations: 15.94 kB / 1.087 GB, free: 13.52 MB / 0.8419 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001408/0.8885, allocations: 103.3 kB / 1.088 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000147/0.8887, allocations: 42.41 kB / 1.088 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.8887, allocations: 1.125 kB / 1.088 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.955e-05/0.8887, allocations: 20.84 kB / 1.088 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.889, allocations: 7.703 kB / 1.088 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003816/0.8894, allocations: 171.5 kB / 1.088 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.8897, allocations: 0.6788 MB / 1.088 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.169e-05/0.8898, allocations: 11.17 kB / 1.088 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.8898, allocations: 3.938 kB / 1.089 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of Templates: time 0.002395/0.8922, allocations: 0.5951 MB / 1.089 GB, free: 12.5 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches