Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008044/0.008044, allocations: 97.69 kB / 15.73 MB, free: 6.039 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.001739/0.001739, allocations: 201.5 kB / 16.68 MB, free: 5.961 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.77/2.77, allocations: 469.8 MB / 0.7425 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 67.89 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3193, allocations: 159.1 MB / 1.221 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002425/0.3217, allocations: 1.281 MB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.3232, allocations: 0.8632 MB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.467e-05/0.3232, allocations: 0 / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.93e-05/0.3232, allocations: 3.938 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.613e-05/0.3233, allocations: 0 / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007328/0.324, allocations: 195 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.032e-05/0.3241, allocations: 23.84 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.3241, allocations: 0 / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.785e-05/0.3242, allocations: 11.94 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.375e-05/0.3242, allocations: 11.98 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.3242, allocations: 0 / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003875/0.3246, allocations: 231.7 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.3246, allocations: 11.98 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.3247, allocations: 7.938 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.3249, allocations: 151.6 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3249, allocations: 3.938 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3249, allocations: 0 / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.325, allocations: 3.984 kB / 1.223 GB, free: 11.03 MB / 0.9825 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.0004207/0.3254, allocations: 355.3 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.3254, allocations: 8.031 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001789/0.3256, allocations: 8.922 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.3257, allocations: 164.3 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.3257, allocations: 4.375 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.3257, allocations: 4.125 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.3259, allocations: 57.61 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3259, allocations: 0 / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.3259, allocations: 0 / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3259, allocations: 4 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.443e-05/0.3259, allocations: 12 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001561/0.3261, allocations: 157.7 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009615/0.3271, allocations: 122.6 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.07e-05/0.3271, allocations: 28.78 kB / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.3272, allocations: 89.03 kB / 1.224 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.3272, allocations: 30.56 kB / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3272, allocations: 0 / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0001884/0.3274, allocations: 77.55 kB / 1.224 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.3275, allocations: 55.41 kB / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.933e-05/0.3275, allocations: 93.86 kB / 1.225 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.3275, allocations: 25.7 kB / 1.225 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.489e-05/0.3276, allocations: 80.14 kB / 1.225 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.3276, allocations: 15.91 kB / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.3276, allocations: 21.7 kB / 1.225 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.198e-05/0.3277, allocations: 310.8 kB / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.385e-05/0.3277, allocations: 4 kB / 1.225 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.156e-05/0.3278, allocations: 15.92 kB / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.554e-05/0.3278, allocations: 24.86 kB / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3278, allocations: 4.125 kB / 1.225 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.168e-05/0.3279, allocations: 57.62 kB / 1.225 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.3279, allocations: 4 kB / 1.225 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.3279, allocations: 0 / 1.225 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.3279, allocations: 4 kB / 1.225 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.342e-05/0.328, allocations: 7.984 kB / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.328, allocations: 0 / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.15e-05/0.328, allocations: 0 / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.3281, allocations: 7.938 kB / 1.225 GB, free: 8.969 MB / 0.9825 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.351e-05/0.3281, allocations: 114.9 kB / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.343e-05/0.3281, allocations: 3.938 kB / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002542/0.3284, allocations: 77.11 kB / 1.225 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3284, allocations: 0 / 1.225 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3284, allocations: 0 / 1.225 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3284, allocations: 4 kB / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.3285, allocations: 173.5 kB / 1.225 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3285, allocations: 0 / 1.225 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.862e-05/0.3286, allocations: 11.98 kB / 1.225 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3286, allocations: 0 / 1.225 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.3286, allocations: 0 / 1.225 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3286, allocations: 3.938 kB / 1.225 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3286, allocations: 64 / 1.225 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.3287, allocations: 93.06 kB / 1.226 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.358e-05/0.3288, allocations: 85.09 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.3288, allocations: 3.938 kB / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.182e-05/0.3288, allocations: 0 / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.386e-05/0.3289, allocations: 8 kB / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.3289, allocations: 0 / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 2.832e-05/0.3289, allocations: 75.28 kB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3289, allocations: 4 kB / 1.226 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002589/0.3291, allocations: 47.86 kB / 1.226 GB, free: 8.176 MB / 0.9825 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.0003868/0.3295, allocations: 179.8 kB / 1.226 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001079/0.3296, allocations: 31.91 kB / 1.226 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3296, allocations: 4 kB / 1.226 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.84e-05/0.3297, allocations: 12 kB / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.3298, allocations: 13.91 kB / 1.226 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003716/0.3302, allocations: 138.3 kB / 1.226 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.3304, allocations: 0.6729 MB / 1.227 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.714e-05/0.3305, allocations: 15.98 kB / 1.227 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.3305, allocations: 11.44 kB / 1.227 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.3305, allocations: 0 / 1.227 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of Templates: time 0.003727/0.3343, allocations: 1.066 MB / 1.228 GB, free: 5.992 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches