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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002072/0.002072, allocations: 102 kB / 16.27 MB, free: 5.859 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.00158/0.001579, allocations: 185.3 kB / 17.19 MB, free: 5.508 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.33/1.33, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.133/2.133, allocations: 390.2 MB / 0.6653 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 70.14 kB / 0.8132 GB, free: 33.09 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2753, allocations: 140.4 MB / 0.9503 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.003288/0.2786, allocations: 1.28 MB / 0.9515 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.28, allocations: 0.7729 MB / 0.9523 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.547e-05/0.28, allocations: 4 kB / 0.9523 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.222e-05/0.28, allocations: 3.938 kB / 0.9523 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.319e-05/0.2801, allocations: 3.938 kB / 0.9523 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005922/0.2807, allocations: 167.2 kB / 0.9524 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.85e-05/0.2808, allocations: 23.94 kB / 0.9525 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.675e-05/0.2809, allocations: 15.92 kB / 0.9525 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.347e-05/0.2809, allocations: 7.984 kB / 0.9525 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.704e-05/0.281, allocations: 11.88 kB / 0.9525 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.281, allocations: 0 / 0.9525 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005448/0.2816, allocations: 283.5 kB / 0.9528 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.2816, allocations: 4 kB / 0.9528 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.2816, allocations: 15.92 kB / 0.9528 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003778/0.282, allocations: 172 kB / 0.953 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.282, allocations: 0 / 0.953 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.813e-06/0.282, allocations: 0 / 0.953 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.282, allocations: 4 kB / 0.953 GB, free: 6.102 MB / 0.7325 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.0005052/0.2826, allocations: 375.3 kB / 0.9533 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.2826, allocations: 8.031 kB / 0.9533 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002874/0.2829, allocations: 20.91 kB / 0.9533 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.283, allocations: 160.4 kB / 0.9535 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.2831, allocations: 384 / 0.9535 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.2831, allocations: 8.375 kB / 0.9535 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.2832, allocations: 50.23 kB / 0.9536 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.2832, allocations: 192 / 0.9536 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.2833, allocations: 7.938 kB / 0.9536 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.2833, allocations: 0 / 0.9536 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.236e-05/0.2834, allocations: 31.86 kB / 0.9536 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.2836, allocations: 161.7 kB / 0.9537 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.2837, allocations: 58.58 kB / 0.9538 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.799e-05/0.2837, allocations: 32.89 kB / 0.9538 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.2838, allocations: 0 / 0.9538 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.2838, allocations: 30.56 kB / 0.9539 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.2838, allocations: 0 / 0.9539 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0002129/0.284, allocations: 89.45 kB / 0.9539 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.2841, allocations: 51.41 kB / 0.954 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.683e-05/0.2841, allocations: 93.86 kB / 0.9541 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.2842, allocations: 29.83 kB / 0.9541 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.2842, allocations: 84.14 kB / 0.9542 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.462e-05/0.2843, allocations: 15.75 kB / 0.9542 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.222e-05/0.2843, allocations: 21.7 kB / 0.9542 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2845, allocations: 314.8 kB / 0.9545 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.645e-05/0.2845, allocations: 4 kB / 0.9545 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.436e-05/0.2845, allocations: 15.98 kB / 0.9545 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.651e-05/0.2846, allocations: 32.86 kB / 0.9546 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2846, allocations: 0 / 0.9546 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001111/0.2847, allocations: 77.91 kB / 0.9547 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.2847, allocations: 8 kB / 0.9547 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.2848, allocations: 7.938 kB / 0.9547 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.2848, allocations: 0 / 0.9547 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.2849, allocations: 15.98 kB / 0.9547 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.2849, allocations: 0 / 0.9547 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.104e-05/0.285, allocations: 4 kB / 0.9547 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.285, allocations: 4 kB / 0.9547 GB, free: 4.098 MB / 0.7325 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 0.0001247/0.2851, allocations: 107.8 kB / 0.9548 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.2852, allocations: 11.98 kB / 0.9548 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/0.2854, allocations: 93.5 kB / 0.9549 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.2854, allocations: 0 / 0.9549 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.2854, allocations: 0 / 0.9549 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2854, allocations: 0 / 0.9549 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.2856, allocations: 165.5 kB / 0.9551 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2856, allocations: 4 kB / 0.9551 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.223e-05/0.2857, allocations: 19.98 kB / 0.9551 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.2857, allocations: 0 / 0.9551 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.2857, allocations: 7.938 kB / 0.9551 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.2857, allocations: 0 / 0.9551 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.2857, allocations: 80 / 0.9551 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.2859, allocations: 101 kB / 0.9552 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.056e-05/0.2859, allocations: 77.11 kB / 0.9553 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.286, allocations: 19.88 kB / 0.9553 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.672e-05/0.286, allocations: 3.984 kB / 0.9553 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.063e-05/0.286, allocations: 4 kB / 0.9553 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.2861, allocations: 0 / 0.9553 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.253e-05/0.2861, allocations: 75.28 kB / 0.9554 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.01e-07/0.2861, allocations: 0 / 0.9554 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001904/0.2863, allocations: 12 kB / 0.9554 GB, free: 3.305 MB / 0.7325 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.0001279/0.2864, allocations: 99.25 kB / 0.9555 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.2866, allocations: 51.98 kB / 0.9555 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2866, allocations: 0 / 0.9555 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.553e-05/0.2866, allocations: 20 kB / 0.9555 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.2869, allocations: 9.016 kB / 0.9555 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000398/0.2873, allocations: 168.2 kB / 0.9557 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.2876, allocations: 0.6883 MB / 0.9564 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.2876, allocations: 11.44 kB / 0.9564 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.2876, allocations: 0 / 0.9564 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of Templates: time 0.00193/0.2895, allocations: 0.5956 MB / 0.957 GB, free: 1.609 MB / 0.7325 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches