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.00137/0.00137, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.422/1.422, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.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.411/2.411, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001858, allocations: 71.88 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7864/0.7883, allocations: 140.4 MB / 0.9496 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002614/0.7909, allocations: 1.273 MB / 0.9508 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009975/0.7919, allocations: 0.7715 MB / 0.9516 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.203e-05/0.792, allocations: 0 / 0.9516 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.991e-05/0.792, allocations: 0 / 0.9516 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.458e-05/0.7921, allocations: 5.094 kB / 0.9516 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005777/0.7927, allocations: 161.3 kB / 0.9517 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.411e-05/0.7928, allocations: 35.14 kB / 0.9518 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.173e-05/0.7928, allocations: 2.25 kB / 0.9518 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.151e-05/0.7929, allocations: 13.88 kB / 0.9518 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.949e-05/0.7929, allocations: 12.09 kB / 0.9518 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.7929, allocations: 1.5 kB / 0.9518 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005033/0.7935, allocations: 282.3 kB / 0.9521 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.7935, allocations: 9.266 kB / 0.9521 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.7935, allocations: 12.25 kB / 0.9521 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003156/0.7938, allocations: 162.3 kB / 0.9523 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7938, allocations: 4 kB / 0.9523 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7938, allocations: 4 kB / 0.9523 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.7939, allocations: 1.094 kB / 0.9523 GB, free: 7.156 MB / 0.7169 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.0004625/0.7943, allocations: 371.4 kB / 0.9526 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.7944, allocations: 8.781 kB / 0.9526 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003029/0.7947, allocations: 19.22 kB / 0.9526 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.895e-05/0.7948, allocations: 173.5 kB / 0.9528 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.7948, allocations: 1.656 kB / 0.9528 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.7948, allocations: 5.656 kB / 0.9528 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.795, allocations: 56.33 kB / 0.9529 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.795, allocations: 192 / 0.9529 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.795, allocations: 5.344 kB / 0.9529 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.795, allocations: 0 / 0.9529 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.362e-05/0.7951, allocations: 24.67 kB / 0.9529 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001951/0.7953, allocations: 161 kB / 0.953 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.7955, allocations: 70.41 kB / 0.9531 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.378e-05/0.7955, allocations: 24.67 kB / 0.9531 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.7956, allocations: 1.25 kB / 0.9531 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.7956, allocations: 30.56 kB / 0.9532 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.7956, allocations: 1.5 kB / 0.9532 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002272/0.7959, allocations: 80.64 kB / 0.9532 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.7959, allocations: 56.91 kB / 0.9533 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.105e-05/0.796, allocations: 95.55 kB / 0.9534 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.796, allocations: 25.7 kB / 0.9534 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.336e-05/0.796, allocations: 80.14 kB / 0.9535 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.796, allocations: 26.08 kB / 0.9535 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.7961, allocations: 17.88 kB / 0.9535 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.417e-05/0.7962, allocations: 312.3 kB / 0.9538 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.955e-05/0.7962, allocations: 17.61 kB / 0.9539 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.31e-05/0.7962, allocations: 11.09 kB / 0.9539 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.308e-05/0.7963, allocations: 36.61 kB / 0.9539 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.7963, allocations: 3.984 kB / 0.9539 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001046/0.7964, allocations: 63.06 kB / 0.954 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.7964, allocations: 9.281 kB / 0.954 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.7964, allocations: 3.938 kB / 0.954 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.7965, allocations: 1.188 kB / 0.954 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.7966, allocations: 16.31 kB / 0.954 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.7966, allocations: 0 / 0.954 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.139e-05/0.7967, allocations: 5.281 kB / 0.954 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.7967, allocations: 5.516 kB / 0.954 GB, free: 5.363 MB / 0.7169 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 6.639e-05/0.7968, allocations: 115.8 kB / 0.9541 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.7968, allocations: 6.156 kB / 0.9541 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.797, allocations: 85.8 kB / 0.9542 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.797, allocations: 1 kB / 0.9542 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.797, allocations: 1.25 kB / 0.9542 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.7971, allocations: 11.97 kB / 0.9542 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.7972, allocations: 165.2 kB / 0.9544 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.7972, allocations: 0.875 kB / 0.9544 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.628e-05/0.7973, allocations: 13.62 kB / 0.9544 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.7973, allocations: 0 / 0.9544 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.7973, allocations: 7.922 kB / 0.9544 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.7973, allocations: 1.094 kB / 0.9544 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.7973, allocations: 0 / 0.9544 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.7975, allocations: 103.6 kB / 0.9545 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.022e-05/0.7976, allocations: 87.62 kB / 0.9546 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.7976, allocations: 5.094 kB / 0.9546 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.261e-05/0.7977, allocations: 1.125 kB / 0.9546 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.7977, allocations: 6.469 kB / 0.9546 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.7977, allocations: 1.188 kB / 0.9546 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.46e-05/0.7977, allocations: 80.33 kB / 0.9547 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7977, allocations: 0 / 0.9547 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00022/0.798, allocations: 8.438 kB / 0.9547 GB, free: 4.664 MB / 0.7169 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.0001387/0.7981, allocations: 110.5 kB / 0.9548 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001449/0.7983, allocations: 38.48 kB / 0.9548 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7983, allocations: 0 / 0.9548 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.586e-05/0.7983, allocations: 22.61 kB / 0.9548 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.7986, allocations: 9.094 kB / 0.9548 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004776/0.7991, allocations: 137 kB / 0.955 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.7993, allocations: 0.6824 MB / 0.9556 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.488e-05/0.7993, allocations: 15.45 kB / 0.9557 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.7994, allocations: 13.75 kB / 0.9557 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.7994, allocations: 1.219 kB / 0.9557 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of Templates: time 0.003148/0.8025, allocations: 0.5602 MB / 0.9562 GB, free: 3.398 MB / 0.7169 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/jenkins/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