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.001922/0.001922, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001931/0.001931, allocations: 192.5 kB / 16.25 MB, free: 6.637 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.518/1.518, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.886/2.886, allocations: 469.8 MB / 0.742 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 69.47 kB / 0.908 GB, free: 34.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3386, allocations: 159.2 MB / 1.063 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002809/0.3415, allocations: 1.329 MB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001661/0.3432, allocations: 0.8633 MB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.97e-05/0.3432, allocations: 0 / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.028e-05/0.3432, allocations: 3.938 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.839e-05/0.3433, allocations: 7.984 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006628/0.344, allocations: 174.3 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.918e-05/0.344, allocations: 27.75 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.6e-05/0.3441, allocations: 0 / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.088e-05/0.3441, allocations: 11.98 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.156e-05/0.3442, allocations: 7.984 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.3442, allocations: 0 / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003532/0.3446, allocations: 195.8 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.3446, allocations: 7.938 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.3446, allocations: 8 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.3449, allocations: 147.8 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3449, allocations: 0 / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.836e-06/0.3449, allocations: 0 / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.3449, allocations: 0 / 1.066 GB, free: 11.86 MB / 0.8262 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.0004879/0.3454, allocations: 359.5 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001192/0.3456, allocations: 8.031 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.3458, allocations: 8.922 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.3459, allocations: 168.4 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.3459, allocations: 384 / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.3459, allocations: 8.062 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.3461, allocations: 41.69 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.3461, allocations: 0 / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.3461, allocations: 0 / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3461, allocations: 0 / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.336e-05/0.3462, allocations: 19.98 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002677/0.3465, allocations: 161.6 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.3475, allocations: 142.5 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.868e-05/0.3475, allocations: 24.78 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001262/0.3477, allocations: 85.05 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.3477, allocations: 38.56 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3477, allocations: 0 / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001919/0.3479, allocations: 61.67 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.348, allocations: 55.41 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.435e-05/0.3481, allocations: 89.86 kB / 1.067 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.3481, allocations: 25.7 kB / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.635e-05/0.3481, allocations: 84.14 kB / 1.067 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.3482, allocations: 15.75 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.3482, allocations: 25.83 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3484, allocations: 310.8 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.435e-05/0.3484, allocations: 4 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.413e-05/0.3485, allocations: 8 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.203e-05/0.3485, allocations: 28.84 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3485, allocations: 0 / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.655e-05/0.3486, allocations: 61.62 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3487, allocations: 7.938 kB / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3487, allocations: 0 / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.3487, allocations: 4 kB / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.055e-05/0.3488, allocations: 11.94 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3488, allocations: 0 / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.246e-05/0.3488, allocations: 3.938 kB / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.3488, allocations: 7.984 kB / 1.068 GB, free: 9.781 MB / 0.8262 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.0001133/0.349, allocations: 109.8 kB / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.349, allocations: 3.938 kB / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003167/0.3493, allocations: 77.17 kB / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3493, allocations: 0 / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3493, allocations: 0 / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3493, allocations: 0 / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.3495, allocations: 165.6 kB / 1.068 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3495, allocations: 0 / 1.068 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.777e-05/0.3496, allocations: 11.92 kB / 1.068 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3496, allocations: 8 kB / 1.068 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.3496, allocations: 0 / 1.068 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3496, allocations: 0 / 1.068 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3496, allocations: 3.938 kB / 1.068 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.3497, allocations: 88.97 kB / 1.068 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.896e-05/0.3498, allocations: 81.11 kB / 1.068 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.3498, allocations: 0 / 1.068 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.634e-05/0.3499, allocations: 4.312 kB / 1.068 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.263e-05/0.3499, allocations: 12 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.3499, allocations: 128 / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.114e-05/0.35, allocations: 75.28 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.35, allocations: 0 / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002616/0.3503, allocations: 47.98 kB / 1.069 GB, free: 9.004 MB / 0.8262 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.0004371/0.3507, allocations: 188.5 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001209/0.3509, allocations: 27.98 kB / 1.069 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3509, allocations: 0 / 1.069 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.099e-05/0.3509, allocations: 12 kB / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.3511, allocations: 14.28 kB / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003676/0.3514, allocations: 126.7 kB / 1.069 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.3518, allocations: 0.6815 MB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.916e-05/0.3519, allocations: 7.984 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.3519, allocations: 11.44 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3519, allocations: 0 / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of Templates: time 0.00427/0.3562, allocations: 1.061 MB / 1.071 GB, free: 6.832 MB / 0.8262 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=400 -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