Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 108 kB / 15.61 MB, free: 148 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.001925/0.001925, allocations: 194.4 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.416/1.416, allocations: 222.9 MB / 240.2 MB, free: 4.352 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.542/2.542, allocations: 390.2 MB / 0.6646 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.89 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8668/0.8681, allocations: 140.4 MB / 0.9496 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002449/0.8706, allocations: 1.273 MB / 0.9508 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.8719, allocations: 0.8697 MB / 0.9517 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.602e-05/0.8719, allocations: 1.469 kB / 0.9517 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.155e-05/0.872, allocations: 3.938 kB / 0.9517 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.13e-05/0.872, allocations: 0 / 0.9517 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006107/0.8727, allocations: 194.8 kB / 0.9519 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.696e-05/0.8727, allocations: 17.19 kB / 0.9519 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.8728, allocations: 10.14 kB / 0.9519 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.803e-05/0.8728, allocations: 8.344 kB / 0.9519 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.364e-05/0.8729, allocations: 11.27 kB / 0.9519 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.8729, allocations: 1.094 kB / 0.9519 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003071/0.8732, allocations: 193 kB / 0.9521 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.027e-05/0.8732, allocations: 4 kB / 0.9521 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.251e-05/0.8732, allocations: 9.281 kB / 0.9521 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.8735, allocations: 147.4 kB / 0.9522 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.8735, allocations: 3.984 kB / 0.9522 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8735, allocations: 0 / 0.9522 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5e-06/0.8735, allocations: 5.562 kB / 0.9523 GB, free: 7.082 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003367/0.8739, allocations: 353.4 kB / 0.9526 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.8739, allocations: 9.375 kB / 0.9526 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.8741, allocations: 10.11 kB / 0.9526 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.544e-05/0.8742, allocations: 165.8 kB / 0.9528 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.8742, allocations: 384 / 0.9528 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.8742, allocations: 9.188 kB / 0.9528 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.8743, allocations: 49.7 kB / 0.9528 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.8744, allocations: 3.938 kB / 0.9528 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.8744, allocations: 5.469 kB / 0.9528 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.8744, allocations: 0 / 0.9528 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.25e-05/0.8744, allocations: 13.06 kB / 0.9528 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001336/0.8746, allocations: 154.2 kB / 0.953 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009185/0.8755, allocations: 129.9 kB / 0.9531 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.236e-05/0.8756, allocations: 28.56 kB / 0.9531 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.8757, allocations: 82.7 kB / 0.9532 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.8757, allocations: 31.94 kB / 0.9533 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.8757, allocations: 3.938 kB / 0.9533 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001924/0.8759, allocations: 65.72 kB / 0.9533 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.8759, allocations: 51.41 kB / 0.9534 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.375e-05/0.876, allocations: 100.6 kB / 0.9535 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.876, allocations: 25.7 kB / 0.9535 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.469e-05/0.876, allocations: 80.14 kB / 0.9536 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.8761, allocations: 13.28 kB / 0.9536 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.8761, allocations: 21.8 kB / 0.9536 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.503e-05/0.8762, allocations: 312.2 kB / 0.9539 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.094e-05/0.8762, allocations: 12.31 kB / 0.9539 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.78e-05/0.8762, allocations: 8.109 kB / 0.9539 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.847e-05/0.8763, allocations: 33.05 kB / 0.9539 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.8763, allocations: 4 kB / 0.9539 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.676e-05/0.8764, allocations: 57.34 kB / 0.954 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.8764, allocations: 5 kB / 0.954 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.8764, allocations: 0 / 0.954 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.8764, allocations: 1.281 kB / 0.954 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.749e-05/0.8765, allocations: 9.016 kB / 0.954 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.8765, allocations: 1.375 kB / 0.954 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.792e-05/0.8765, allocations: 0 / 0.954 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.8765, allocations: 9.172 kB / 0.954 GB, free: 5.242 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 (4): * Single equations (assignments): 4 * 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.32e-05/0.8766, allocations: 112.5 kB / 0.9541 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.8766, allocations: 13 kB / 0.9541 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.8769, allocations: 74.45 kB / 0.9542 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.8769, allocations: 5.281 kB / 0.9542 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.8769, allocations: 0 / 0.9542 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.8769, allocations: 0 / 0.9542 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.997e-05/0.877, allocations: 163.8 kB / 0.9544 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.877, allocations: 1.375 kB / 0.9544 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.205e-05/0.877, allocations: 10.17 kB / 0.9544 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.877, allocations: 1.312 kB / 0.9544 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.8771, allocations: 0 / 0.9544 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.8771, allocations: 1.281 kB / 0.9544 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.8771, allocations: 0 / 0.9544 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.8772, allocations: 97.86 kB / 0.9545 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.042e-05/0.8772, allocations: 86.25 kB / 0.9546 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.8772, allocations: 5.031 kB / 0.9546 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.631e-05/0.8773, allocations: 1.312 kB / 0.9546 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.8773, allocations: 1.344 kB / 0.9546 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.8773, allocations: 2.5 kB / 0.9546 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.562e-05/0.8773, allocations: 76.69 kB / 0.9547 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8773, allocations: 0 / 0.9547 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002755/0.8776, allocations: 56.67 kB / 0.9547 GB, free: 4.547 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 (5): * Single equations (assignments): 5 * 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.0003264/0.878, allocations: 164.9 kB / 0.9549 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001077/0.8781, allocations: 36.64 kB / 0.9549 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.8781, allocations: 0 / 0.9549 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.484e-05/0.8781, allocations: 14.44 kB / 0.9549 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.8783, allocations: 16.19 kB / 0.9549 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.8786, allocations: 120.2 kB / 0.955 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.8787, allocations: 0.6813 MB / 0.9557 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.145e-05/0.8788, allocations: 20.22 kB / 0.9557 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.351e-05/0.8788, allocations: 10.84 kB / 0.9557 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8788, allocations: 0 / 0.9557 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of Templates: time 0.003414/0.8822, allocations: 1.063 MB / 0.9568 GB, free: 3.016 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches