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.001253/0.001253, allocations: 110.2 kB / 15.99 MB, free: 6.367 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.001401/0.001401, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.303/1.303, allocations: 222.9 MB / 240.6 MB, free: 13.68 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.176/2.176, allocations: 390.2 MB / 0.665 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 69.47 kB / 0.8127 GB, free: 32.5 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3072, allocations: 140.4 MB / 0.9498 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002666/0.3099, allocations: 1.339 MB / 0.9511 GB, free: 7.855 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.3111, allocations: 0.767 MB / 0.9518 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.329e-05/0.3112, allocations: 0 / 0.9518 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.498e-05/0.3112, allocations: 7.938 kB / 0.9518 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.346e-05/0.3113, allocations: 11.92 kB / 0.9519 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005654/0.3118, allocations: 143.5 kB / 0.952 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.537e-05/0.3119, allocations: 27.86 kB / 0.952 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.652e-05/0.312, allocations: 11.92 kB / 0.952 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.77e-05/0.312, allocations: 4 kB / 0.952 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.558e-05/0.3121, allocations: 11.92 kB / 0.952 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.3121, allocations: 0 / 0.952 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004448/0.3125, allocations: 283.6 kB / 0.9523 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.3126, allocations: 11.98 kB / 0.9523 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.771e-05/0.3126, allocations: 11.94 kB / 0.9523 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.3128, allocations: 112.1 kB / 0.9524 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3128, allocations: 0 / 0.9524 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3128, allocations: 0 / 0.9524 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.3129, allocations: 0 / 0.9524 GB, free: 6.461 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.000445/0.3133, allocations: 363.4 kB / 0.9528 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3133, allocations: 15.97 kB / 0.9528 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002629/0.3136, allocations: 20.91 kB / 0.9528 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.3138, allocations: 164.4 kB / 0.953 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.3138, allocations: 4.375 kB / 0.953 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.3138, allocations: 384 / 0.953 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.3139, allocations: 54.23 kB / 0.953 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.314, allocations: 192 / 0.953 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.314, allocations: 3.938 kB / 0.953 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.314, allocations: 0 / 0.953 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.06e-05/0.3141, allocations: 31.97 kB / 0.9531 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.3142, allocations: 161.7 kB / 0.9532 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.3144, allocations: 62.59 kB / 0.9533 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.69e-05/0.3144, allocations: 24.86 kB / 0.9533 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.3145, allocations: 11.95 kB / 0.9533 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.3145, allocations: 30.56 kB / 0.9533 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.3145, allocations: 4 kB / 0.9534 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0001983/0.3147, allocations: 85.47 kB / 0.9534 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.3148, allocations: 55.41 kB / 0.9535 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.159e-05/0.3148, allocations: 89.86 kB / 0.9536 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.3149, allocations: 25.7 kB / 0.9536 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.3149, allocations: 80.14 kB / 0.9537 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/0.315, allocations: 23.73 kB / 0.9537 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.315, allocations: 17.72 kB / 0.9537 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.3151, allocations: 319 kB / 0.954 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.898e-05/0.3152, allocations: 12 kB / 0.954 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.191e-05/0.3152, allocations: 8 kB / 0.954 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.273e-05/0.3153, allocations: 40.78 kB / 0.9541 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3153, allocations: 0 / 0.9541 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001148/0.3154, allocations: 73.53 kB / 0.9541 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3154, allocations: 4 kB / 0.9542 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3154, allocations: 3.938 kB / 0.9542 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3154, allocations: 0 / 0.9542 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.3156, allocations: 15.98 kB / 0.9542 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3156, allocations: 4 kB / 0.9542 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.198e-05/0.3156, allocations: 4 kB / 0.9542 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.3157, allocations: 0 / 0.9542 GB, free: 4.457 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 7.948e-05/0.3157, allocations: 113.8 kB / 0.9543 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.3158, allocations: 448 / 0.9543 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/0.316, allocations: 97.48 kB / 0.9544 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.316, allocations: 4 kB / 0.9544 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/0.316, allocations: 0 / 0.9544 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.316, allocations: 0 / 0.9544 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.3162, allocations: 177.5 kB / 0.9546 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3162, allocations: 0 / 0.9546 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.722e-05/0.3163, allocations: 15.98 kB / 0.9546 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3163, allocations: 0 / 0.9546 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.3163, allocations: 3.938 kB / 0.9546 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.3163, allocations: 4 kB / 0.9546 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3163, allocations: 7.938 kB / 0.9546 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.3164, allocations: 97.05 kB / 0.9547 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.802e-05/0.3165, allocations: 85.09 kB / 0.9548 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.3166, allocations: 3.938 kB / 0.9548 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.883e-05/0.3166, allocations: 4 kB / 0.9548 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.755e-05/0.3166, allocations: 7.984 kB / 0.9548 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.3167, allocations: 0 / 0.9548 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.469e-05/0.3167, allocations: 83.28 kB / 0.9549 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3167, allocations: 0 / 0.9549 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001911/0.3169, allocations: 8 kB / 0.9549 GB, free: 3.652 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.0001243/0.317, allocations: 101.3 kB / 0.955 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001203/0.3171, allocations: 43.92 kB / 0.955 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3172, allocations: 0 / 0.955 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.945e-05/0.3172, allocations: 23.98 kB / 0.955 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.3174, allocations: 4 kB / 0.955 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/0.3178, allocations: 180.3 kB / 0.9552 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.3182, allocations: 0.6805 MB / 0.9559 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.3182, allocations: 11.44 kB / 0.9559 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of SimCode: time 2.91e-07/0.3182, allocations: 0 / 0.9559 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of Templates: time 0.002054/0.3203, allocations: 0.6009 MB / 0.9565 GB, free: 1.953 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