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.001451/0.001451, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001372/0.001372, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.46/1.46, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.853/2.853, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 63.89 kB / 0.8686 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7011/0.7032, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002683/0.7059, allocations: 1.334 MB / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001701/0.7076, allocations: 0.9044 MB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.382e-05/0.7077, allocations: 0 / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.72e-05/0.7077, allocations: 0 / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.836e-05/0.7077, allocations: 3.938 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005556/0.7083, allocations: 155.3 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.289e-05/0.7084, allocations: 19.92 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.644e-05/0.7084, allocations: 7.938 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.35e-05/0.7085, allocations: 4 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.757e-05/0.7085, allocations: 7.984 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.7085, allocations: 3.984 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003532/0.7089, allocations: 197.7 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.7089, allocations: 0 / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.709, allocations: 4 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0004044/0.7094, allocations: 153.7 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.7094, allocations: 4 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7094, allocations: 4 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.7094, allocations: 0 / 1.019 GB, free: 15.98 MB / 0.7794 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.000575/0.71, allocations: 351.5 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.7101, allocations: 16.02 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002331/0.7103, allocations: 4.938 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.7105, allocations: 168.3 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.7105, allocations: 384 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.7105, allocations: 16.12 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.7107, allocations: 45.67 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.7107, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.7107, allocations: 4 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.7108, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.574e-05/0.7108, allocations: 15.98 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002315/0.7111, allocations: 153.7 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.7123, allocations: 142.4 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.774e-05/0.7123, allocations: 24.8 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.7124, allocations: 85.09 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.7125, allocations: 38.5 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.7125, allocations: 0 / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001959/0.7127, allocations: 65.59 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.7127, allocations: 51.41 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.471e-05/0.7128, allocations: 97.84 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.7129, allocations: 29.64 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.926e-05/0.7129, allocations: 84.14 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.7129, allocations: 3.906 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.713, allocations: 21.72 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.7131, allocations: 311 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.682e-05/0.7132, allocations: 15.98 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.02e-05/0.7132, allocations: 8 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.224e-05/0.7132, allocations: 20.86 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7132, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.996e-05/0.7134, allocations: 65.52 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.7134, allocations: 8 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.7134, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.7134, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.907e-05/0.7135, allocations: 7.938 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.7135, allocations: 0 / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.605e-05/0.7135, allocations: 15.94 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.7135, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 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 8.135e-05/0.7136, allocations: 106.6 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.7136, allocations: 7.938 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002784/0.7139, allocations: 81.48 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.7139, allocations: 0 / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.7139, allocations: 0 / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.714, allocations: 7.984 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.7141, allocations: 157.6 kB / 1.021 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.7141, allocations: 3.938 kB / 1.021 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.539e-05/0.7142, allocations: 11.94 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.7142, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.7142, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.7142, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.7142, allocations: 8 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.7144, allocations: 89.12 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.875e-05/0.7144, allocations: 89 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.7145, allocations: 3.938 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.356e-05/0.7145, allocations: 4 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.453e-05/0.7146, allocations: 3.984 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.7146, allocations: 4 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.845e-05/0.7147, allocations: 79.28 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7147, allocations: 0 / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000328/0.715, allocations: 44 kB / 1.022 GB, free: 13.11 MB / 0.7794 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.0004173/0.7154, allocations: 166.8 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001131/0.7156, allocations: 27.98 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7156, allocations: 4.094 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.289e-05/0.7156, allocations: 19.98 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.7158, allocations: 15.88 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/0.7161, allocations: 128.2 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.7164, allocations: 0.6809 MB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.481e-05/0.7165, allocations: 8 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.7166, allocations: 11.44 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.7166, allocations: 0 / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of Templates: time 0.004141/0.7207, allocations: 1.034 MB / 1.024 GB, free: 10.97 MB / 0.7794 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=400 -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