Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.009141/0.009141, allocations: 104.7 kB / 15.73 MB, free: 6.051 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.001854/0.001854, allocations: 191.6 kB / 16.68 MB, free: 5.965 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.346/2.346, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 79.8 kB / 0.9508 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119/1.12, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.003116/1.123, allocations: 1.272 MB / 1.089 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00153/1.125, allocations: 0.8683 MB / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.781e-05/1.125, allocations: 0 / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.377e-05/1.125, allocations: 0.5156 kB / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.617e-05/1.125, allocations: 5.984 kB / 1.09 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008783/1.126, allocations: 203.9 kB / 1.09 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.036e-05/1.126, allocations: 15.28 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.181e-05/1.126, allocations: 5.906 kB / 1.09 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.319e-05/1.126, allocations: 9.656 kB / 1.09 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.589e-05/1.126, allocations: 8.938 kB / 1.09 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/1.126, allocations: 1.125 kB / 1.09 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005581/1.127, allocations: 235.8 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/1.127, allocations: 5.656 kB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.895e-05/1.127, allocations: 7.812 kB / 1.09 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003598/1.127, allocations: 150.4 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/1.127, allocations: 0 / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.924e-06/1.127, allocations: 0 / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.885e-06/1.127, allocations: 1.062 kB / 1.091 GB, free: 3.816 MB / 0.8575 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.0004255/1.127, allocations: 350 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/1.127, allocations: 9.812 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002042/1.128, allocations: 9.172 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.919e-05/1.128, allocations: 166.5 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/1.128, allocations: 10.41 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/1.128, allocations: 8.875 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/1.128, allocations: 45.77 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/1.128, allocations: 0.8125 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/1.128, allocations: 0 / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/1.128, allocations: 4.938 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.306e-05/1.128, allocations: 16.19 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/1.128, allocations: 158.1 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009986/1.129, allocations: 133.8 kB / 1.091 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.916e-05/1.129, allocations: 27.47 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/1.129, allocations: 88.16 kB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/1.129, allocations: 31.34 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/1.129, allocations: 4 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002125/1.13, allocations: 63.77 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/1.13, allocations: 52.11 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.187e-05/1.13, allocations: 96.02 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/1.13, allocations: 26.36 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.533e-05/1.13, allocations: 80.75 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/1.13, allocations: 10.94 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/1.13, allocations: 22.66 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.274e-05/1.13, allocations: 317.3 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.627e-05/1.13, allocations: 9.281 kB / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.081e-05/1.13, allocations: 6.047 kB / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.693e-05/1.13, allocations: 33.89 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/1.13, allocations: 0.5156 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.615e-05/1.13, allocations: 60.64 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/1.13, allocations: 5.828 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/1.13, allocations: 0.75 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/1.13, allocations: 0 / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.122e-05/1.13, allocations: 11.83 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/1.13, allocations: 0.6562 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.854e-05/1.13, allocations: 4.969 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/1.13, allocations: 5.281 kB / 1.092 GB, free: 2.039 MB / 0.8575 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 6.688e-05/1.13, allocations: 108.6 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/1.13, allocations: 5.5 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002684/1.131, allocations: 83.89 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/1.131, allocations: 1.078 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.131, allocations: 0.6562 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.131, allocations: 0.8438 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.161e-05/1.131, allocations: 158.9 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.131, allocations: 1.359 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.849e-05/1.131, allocations: 11.98 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/1.131, allocations: 4.688 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/1.131, allocations: 5.438 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/1.131, allocations: 0 / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.131, allocations: 1.328 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/1.131, allocations: 89.11 kB / 1.093 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/1.131, allocations: 89.58 kB / 1.093 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/1.131, allocations: 0.8125 kB / 1.093 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.242e-05/1.131, allocations: 2.391 kB / 1.093 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.457e-05/1.131, allocations: 6.891 kB / 1.093 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/1.131, allocations: 10.34 kB / 1.093 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.735e-05/1.131, allocations: 76.06 kB / 1.093 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/1.131, allocations: 0 / 1.093 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003166/1.132, allocations: 51.84 kB / 1.093 GB, free: 1.371 MB / 0.8575 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.0004215/1.132, allocations: 160.1 kB / 1.093 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001215/1.132, allocations: 31.91 kB / 1.093 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.132, allocations: 0 / 1.093 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.426e-05/1.132, allocations: 20.53 kB / 1.093 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/1.132, allocations: 11.92 kB / 1.093 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/1.133, allocations: 117.9 kB / 1.093 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/1.133, allocations: 0.6761 MB / 1.094 GB, free: 456 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.65e-05/1.133, allocations: 11.27 kB / 1.094 GB, free: 452 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/1.133, allocations: 15.39 kB / 1.094 GB, free: 440 kB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/1.133, allocations: 0 / 1.094 GB, free: 440 kB / 0.8575 GB Notification: Performance of Templates: time 0.004068/1.137, allocations: 1.081 MB / 1.095 GB, free: 316 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches