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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001514/0.001514, allocations: 100.1 kB / 15.88 MB, free: 12 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.001799/0.001799, allocations: 195.9 kB / 16.79 MB, free: 6.809 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.363/1.363, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.431/2.431, allocations: 390.2 MB / 0.6649 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 71.88 kB / 0.8125 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7306/0.7319, allocations: 140.3 MB / 0.9496 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002607/0.7346, allocations: 1.356 MB / 0.9509 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.7356, allocations: 0.7812 MB / 0.9517 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.114e-05/0.7357, allocations: 0 / 0.9517 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.508e-05/0.7357, allocations: 0 / 0.9517 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.935e-05/0.7358, allocations: 9.297 kB / 0.9517 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004914/0.7363, allocations: 145.1 kB / 0.9518 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.502e-05/0.7364, allocations: 28.23 kB / 0.9518 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.45e-05/0.7364, allocations: 1.375 kB / 0.9518 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.874e-05/0.7364, allocations: 9.438 kB / 0.9518 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.174e-05/0.7365, allocations: 16.09 kB / 0.9519 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.458e-06/0.7365, allocations: 1.375 kB / 0.9519 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004399/0.737, allocations: 285.7 kB / 0.9521 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.188e-05/0.737, allocations: 5.188 kB / 0.9521 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.008e-05/0.737, allocations: 12.59 kB / 0.9522 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.7373, allocations: 113.2 kB / 0.9523 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.7373, allocations: 4 kB / 0.9523 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.71e-07/0.7373, allocations: 0 / 0.9523 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.7373, allocations: 0 / 0.9523 GB, free: 7.098 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.0003822/0.7377, allocations: 367 kB / 0.9526 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.7377, allocations: 9.062 kB / 0.9526 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002728/0.738, allocations: 19.72 kB / 0.9526 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.596e-05/0.7381, allocations: 165.4 kB / 0.9528 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.7381, allocations: 5.438 kB / 0.9528 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.7381, allocations: 6.406 kB / 0.9528 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.7383, allocations: 43.38 kB / 0.9529 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.7383, allocations: 5.703 kB / 0.9529 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.7383, allocations: 3.938 kB / 0.9529 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.7383, allocations: 9.266 kB / 0.9529 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.118e-05/0.7384, allocations: 29.27 kB / 0.9529 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001224/0.7385, allocations: 158.8 kB / 0.9531 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.7386, allocations: 60.31 kB / 0.9531 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.058e-05/0.7387, allocations: 27.45 kB / 0.9531 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.7387, allocations: 1.281 kB / 0.9531 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/0.7387, allocations: 31.91 kB / 0.9532 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.001e-06/0.7387, allocations: 0 / 0.9532 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0001984/0.7389, allocations: 84.75 kB / 0.9532 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.063e-05/0.7389, allocations: 57.34 kB / 0.9533 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.09e-05/0.739, allocations: 97.84 kB / 0.9534 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.739, allocations: 31.3 kB / 0.9534 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.335e-05/0.739, allocations: 80.14 kB / 0.9535 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.7391, allocations: 22.27 kB / 0.9535 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.7391, allocations: 17.66 kB / 0.9535 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.388e-05/0.7391, allocations: 320.1 kB / 0.9538 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.717e-05/0.7392, allocations: 6 kB / 0.9539 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.336e-05/0.7392, allocations: 18.58 kB / 0.9539 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.926e-05/0.7393, allocations: 37.05 kB / 0.9539 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.7393, allocations: 0 / 0.9539 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.385e-05/0.7394, allocations: 62.78 kB / 0.954 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.7394, allocations: 7.125 kB / 0.954 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.7394, allocations: 3.938 kB / 0.954 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.7394, allocations: 1.562 kB / 0.954 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.7396, allocations: 15.23 kB / 0.954 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.7396, allocations: 0 / 0.954 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.025e-05/0.7396, allocations: 5.094 kB / 0.954 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.7396, allocations: 9.469 kB / 0.954 GB, free: 5.309 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 5.854e-05/0.7397, allocations: 107.8 kB / 0.9541 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.7397, allocations: 1.594 kB / 0.9541 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001966/0.7399, allocations: 95.19 kB / 0.9542 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.7399, allocations: 0.9375 kB / 0.9542 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.7399, allocations: 4 kB / 0.9542 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.7399, allocations: 0 / 0.9542 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.55e-05/0.74, allocations: 157.8 kB / 0.9544 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.74, allocations: 1.094 kB / 0.9544 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.879e-05/0.7401, allocations: 16.92 kB / 0.9544 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.7402, allocations: 0.9375 kB / 0.9544 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.7402, allocations: 7.938 kB / 0.9544 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.7402, allocations: 5.188 kB / 0.9544 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7402, allocations: 0 / 0.9544 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.7403, allocations: 107 kB / 0.9545 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.7404, allocations: 87.66 kB / 0.9546 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.7404, allocations: 5.125 kB / 0.9546 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.905e-05/0.7405, allocations: 8.969 kB / 0.9546 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/0.7405, allocations: 6.484 kB / 0.9546 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.7405, allocations: 1.281 kB / 0.9546 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.977e-05/0.7405, allocations: 76.31 kB / 0.9547 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.41e-07/0.7405, allocations: 1.125 kB / 0.9547 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001987/0.7407, allocations: 15.59 kB / 0.9547 GB, free: 4.605 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.0001005/0.7408, allocations: 101.8 kB / 0.9548 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.741, allocations: 38.42 kB / 0.9548 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.741, allocations: 0 / 0.9548 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.514e-05/0.741, allocations: 22.73 kB / 0.9548 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.7412, allocations: 10.45 kB / 0.9548 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/0.7416, allocations: 179.1 kB / 0.955 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.7417, allocations: 0.6792 MB / 0.9557 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.7417, allocations: 10 kB / 0.9557 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of SimCode: time 3.7e-07/0.7417, allocations: 1.375 kB / 0.9557 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of Templates: time 0.002119/0.7439, allocations: 0.5831 MB / 0.9563 GB, free: 3.312 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/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