Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.008266/0.008266, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001248/0.001248, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.673/2.673, allocations: 437 MB / 0.7105 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.91 kB / 1.019 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3329, allocations: 151.6 MB / 1.167 GB, free: 6.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002293/0.3352, allocations: 1.28 MB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.3366, allocations: 0.8656 MB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.39e-05/0.3366, allocations: 0 / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.3367, allocations: 3.984 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.058e-05/0.3367, allocations: 3.938 kB / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006632/0.3374, allocations: 199.3 kB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.802e-05/0.3375, allocations: 15.94 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.3e-05/0.3375, allocations: 7.984 kB / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.328e-05/0.3376, allocations: 4 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.7e-05/0.3377, allocations: 15.92 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.3377, allocations: 0 / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003811/0.3381, allocations: 231.7 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.3381, allocations: 11.98 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.451e-05/0.3381, allocations: 7.938 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002769/0.3384, allocations: 147.7 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3384, allocations: 3.938 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3384, allocations: 0 / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.3384, allocations: 0 / 1.169 GB, free: 4.066 MB / 0.92 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.0004663/0.3389, allocations: 367.1 kB / 1.17 GB, free: 3.66 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.339, allocations: 8.031 kB / 1.17 GB, free: 3.652 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.3391, allocations: 8.922 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.3393, allocations: 168.4 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.3393, allocations: 384 / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.3393, allocations: 4.125 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.3394, allocations: 41.69 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.3394, allocations: 3.938 kB / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.3395, allocations: 4 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.3395, allocations: 0 / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.271e-05/0.3395, allocations: 19.92 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.3397, allocations: 157.7 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009157/0.3406, allocations: 130.6 kB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.501e-05/0.3407, allocations: 24.78 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.3408, allocations: 81.11 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.3408, allocations: 38.56 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.3408, allocations: 0 / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.000193/0.341, allocations: 69.75 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.3411, allocations: 59.39 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.212e-05/0.3412, allocations: 89.86 kB / 1.171 GB, free: 2.609 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.3412, allocations: 29.7 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.696e-05/0.3412, allocations: 80.14 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.3412, allocations: 7.953 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.3413, allocations: 25.8 kB / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3414, allocations: 314.8 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.427e-05/0.3414, allocations: 8 kB / 1.171 GB, free: 2.129 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.729e-05/0.3415, allocations: 4 kB / 1.171 GB, free: 2.125 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.506e-05/0.3415, allocations: 28.84 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3415, allocations: 0 / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.874e-05/0.3416, allocations: 65.56 kB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.3417, allocations: 4 kB / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3417, allocations: 0 / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3417, allocations: 7.938 kB / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.63e-05/0.3417, allocations: 8 kB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3418, allocations: 0 / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.983e-05/0.3418, allocations: 3.938 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.3418, allocations: 4 kB / 1.171 GB, free: 1.996 MB / 0.92 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 7.403e-05/0.3419, allocations: 113.8 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/0.3419, allocations: 3.938 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.3421, allocations: 81.11 kB / 1.171 GB, free: 1.781 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.3422, allocations: 0 / 1.171 GB, free: 1.781 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3422, allocations: 0 / 1.171 GB, free: 1.781 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3422, allocations: 0 / 1.171 GB, free: 1.781 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.3423, allocations: 169.6 kB / 1.171 GB, free: 1.566 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3423, allocations: 3.938 kB / 1.171 GB, free: 1.562 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.943e-05/0.3424, allocations: 4 kB / 1.171 GB, free: 1.559 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3424, allocations: 8 kB / 1.171 GB, free: 1.551 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.3424, allocations: 3.984 kB / 1.171 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3424, allocations: 0 / 1.171 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3424, allocations: 0 / 1.171 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.3425, allocations: 92.95 kB / 1.172 GB, free: 1.438 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-05/0.3426, allocations: 81.11 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.3426, allocations: 0 / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.972e-05/0.3427, allocations: 4 kB / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-05/0.3427, allocations: 11.98 kB / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.3427, allocations: 128 / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.325e-05/0.3427, allocations: 75.28 kB / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3428, allocations: 0 / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002397/0.343, allocations: 51.88 kB / 1.172 GB, free: 1.199 MB / 0.92 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.000376/0.3434, allocations: 173.1 kB / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001235/0.3435, allocations: 24 kB / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3435, allocations: 0 / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.391e-05/0.3436, allocations: 19.92 kB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.3437, allocations: 13.83 kB / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003154/0.3441, allocations: 118.6 kB / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.3443, allocations: 0.6794 MB / 1.173 GB, free: 128 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 5.193e-05/0.3443, allocations: 11.98 kB / 1.173 GB, free: 116 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.3444, allocations: 19.36 kB / 1.173 GB, free: 96 kB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.3444, allocations: 0 / 1.173 GB, free: 96 kB / 0.92 GB Notification: Performance of Templates: time 0.003577/0.348, allocations: 1.071 MB / 1.174 GB, free: 15.03 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches