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.005686/0.005686, allocations: 101 kB / 15.73 MB, free: 6.445 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.00126/0.00126, allocations: 191.1 kB / 16.67 MB, free: 6.348 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.66/2.66, allocations: 437 MB / 0.7105 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.91 kB / 1.019 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3747, allocations: 151.6 MB / 1.167 GB, free: 6.836 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002881/0.3777, allocations: 1.266 MB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001621/0.3793, allocations: 0.8733 MB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.597e-05/0.3794, allocations: 0 / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.578e-05/0.3795, allocations: 7.922 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.52e-05/0.3795, allocations: 0 / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.3805, allocations: 203 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.482e-05/0.3806, allocations: 15.94 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.335e-05/0.3807, allocations: 3.984 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.109e-05/0.3807, allocations: 11.94 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.323e-05/0.3808, allocations: 3.938 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.3808, allocations: 4 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005005/0.3813, allocations: 235.7 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.3814, allocations: 7.984 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.532e-05/0.3814, allocations: 15.94 kB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003857/0.3818, allocations: 147.7 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.3818, allocations: 0 / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.337e-06/0.3818, allocations: 0 / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.246e-05/0.3819, allocations: 0 / 1.169 GB, free: 4.035 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.0005508/0.3824, allocations: 367.1 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.3825, allocations: 8.031 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002304/0.3827, allocations: 8.922 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.3828, allocations: 164.4 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.3829, allocations: 4.375 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.3829, allocations: 4.125 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.383, allocations: 41.69 kB / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.383, allocations: 7.922 kB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.3831, allocations: 0 / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3831, allocations: 0 / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.96e-05/0.3831, allocations: 19.92 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001896/0.3833, allocations: 165.7 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000898/0.3842, allocations: 130.6 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.348e-05/0.3843, allocations: 24.78 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/0.3845, allocations: 81.11 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.3845, allocations: 38.5 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.763e-06/0.3845, allocations: 0 / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0002715/0.3848, allocations: 65.64 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.027e-05/0.3849, allocations: 55.39 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.629e-05/0.385, allocations: 93.86 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.385, allocations: 25.7 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/0.3851, allocations: 80.14 kB / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.761e-05/0.3851, allocations: 11.89 kB / 1.171 GB, free: 2.449 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.043e-05/0.3852, allocations: 21.8 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3853, allocations: 322.8 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.504e-05/0.3854, allocations: 4 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.284e-05/0.3854, allocations: 8 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.625e-05/0.3855, allocations: 32.78 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3855, allocations: 0 / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001154/0.3856, allocations: 57.62 kB / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.3856, allocations: 7.938 kB / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.3857, allocations: 0 / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.3857, allocations: 0 / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.282e-05/0.3857, allocations: 12 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.3858, allocations: 0 / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.026e-05/0.3858, allocations: 0 / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.3858, allocations: 0 / 1.171 GB, free: 1.969 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 0.000116/0.3859, allocations: 121.8 kB / 1.171 GB, free: 1.84 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.386, allocations: 3.938 kB / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003235/0.3863, allocations: 77.17 kB / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3863, allocations: 0 / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3863, allocations: 0 / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.3863, allocations: 0 / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.3865, allocations: 169.9 kB / 1.171 GB, free: 1.535 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.3865, allocations: 0 / 1.171 GB, free: 1.535 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.155e-05/0.3866, allocations: 4 kB / 1.171 GB, free: 1.531 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.3866, allocations: 4 kB / 1.171 GB, free: 1.527 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.3866, allocations: 11.92 kB / 1.171 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3866, allocations: 0 / 1.171 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3866, allocations: 0 / 1.171 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.3868, allocations: 101 kB / 1.172 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.891e-05/0.3868, allocations: 81.11 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.3869, allocations: 0 / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.687e-05/0.3869, allocations: 0 / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.387, allocations: 11.98 kB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.387, allocations: 4 kB / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.294e-05/0.387, allocations: 75.28 kB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/0.387, allocations: 0 / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003112/0.3873, allocations: 43.88 kB / 1.172 GB, free: 1.168 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.0004742/0.3878, allocations: 172.4 kB / 1.172 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001389/0.388, allocations: 32.03 kB / 1.172 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.388, allocations: 7.938 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.898e-05/0.388, allocations: 15.98 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.3882, allocations: 7.938 kB / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004031/0.3886, allocations: 122.6 kB / 1.172 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.389, allocations: 0.6806 MB / 1.173 GB, free: 84 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 5.583e-05/0.389, allocations: 8 kB / 1.173 GB, free: 76 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.3891, allocations: 15.42 kB / 1.173 GB, free: 60 kB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.3891, allocations: 0 / 1.173 GB, free: 60 kB / 0.92 GB Notification: Performance of Templates: time 0.00421/0.3933, allocations: 1.064 MB / 1.174 GB, free: 15 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