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.007269/0.007269, allocations: 105 kB / 15.73 MB, free: 6.043 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.001649/0.001649, allocations: 191.1 kB / 16.67 MB, free: 5.977 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.486/1.486, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.486/2.486, allocations: 390.2 MB / 0.6648 GB, free: 140 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 66.59 kB / 0.9508 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3519, allocations: 140.4 MB / 1.088 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002732/0.3546, allocations: 1.27 MB / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00161/0.3563, allocations: 0.867 MB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.81e-05/0.3563, allocations: 3.938 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.019e-05/0.3564, allocations: 3.984 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.984e-05/0.3564, allocations: 0 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007089/0.3571, allocations: 200.8 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.55e-05/0.3572, allocations: 19.81 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.171e-05/0.3573, allocations: 7.969 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.627e-05/0.3573, allocations: 8 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.549e-05/0.3574, allocations: 4 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.818e-06/0.3574, allocations: 0 / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003816/0.3578, allocations: 237.1 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.3578, allocations: 15.91 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.284e-05/0.3578, allocations: 8 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.3581, allocations: 147.8 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3581, allocations: 0 / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3581, allocations: 0 / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.3582, allocations: 0 / 1.091 GB, free: 14.68 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.0006432/0.3588, allocations: 359.5 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.3589, allocations: 8.031 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002109/0.3591, allocations: 8.922 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.3592, allocations: 164.4 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.3592, allocations: 8.375 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.3593, allocations: 8.109 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.3594, allocations: 45.62 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3594, allocations: 0 / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.3594, allocations: 0 / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3594, allocations: 0 / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.63e-05/0.3595, allocations: 15.98 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.3597, allocations: 161.6 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008959/0.3606, allocations: 134.5 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.774e-05/0.3607, allocations: 28.8 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/0.3608, allocations: 85.09 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.3608, allocations: 30.56 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.3608, allocations: 4 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002078/0.361, allocations: 61.69 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.3611, allocations: 51.41 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.967e-05/0.3612, allocations: 97.84 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.3612, allocations: 29.64 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.704e-05/0.3612, allocations: 84.12 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.3612, allocations: 11.84 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.3613, allocations: 17.62 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3614, allocations: 326.9 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.497e-05/0.3615, allocations: 8 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.934e-05/0.3615, allocations: 8 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.835e-05/0.3616, allocations: 28.84 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3616, allocations: 0 / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.587e-05/0.3617, allocations: 57.62 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.3617, allocations: 4 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3617, allocations: 4 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3617, allocations: 0 / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.027e-05/0.3618, allocations: 15.94 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3618, allocations: 0 / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.825e-05/0.3618, allocations: 0 / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.3618, allocations: 0 / 1.092 GB, free: 12.61 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 8.583e-05/0.3619, allocations: 113.8 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.3619, allocations: 4.266 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002902/0.3622, allocations: 77.17 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3623, allocations: 7.984 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.3623, allocations: 0 / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3623, allocations: 0 / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.3624, allocations: 157.6 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.3624, allocations: 4 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.14e-05/0.3625, allocations: 11.88 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3625, allocations: 0 / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.3625, allocations: 8 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.3625, allocations: 7.984 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3625, allocations: 0 / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.3626, allocations: 88.97 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.3627, allocations: 77.11 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.3627, allocations: 4 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.686e-05/0.3628, allocations: 0 / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/0.3628, allocations: 3.984 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.3628, allocations: 8 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.094e-05/0.3629, allocations: 79.28 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3629, allocations: 3.938 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002556/0.3631, allocations: 44 kB / 1.093 GB, free: 11.82 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.00038/0.3635, allocations: 176.3 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001171/0.3636, allocations: 24.08 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3636, allocations: 4 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.03e-05/0.3637, allocations: 19.98 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.3639, allocations: 17.28 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000347/0.3642, allocations: 118.7 kB / 1.093 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.3645, allocations: 0.6768 MB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.092e-05/0.3645, allocations: 15.98 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.3646, allocations: 11.42 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.3646, allocations: 4 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of Templates: time 0.003589/0.3682, allocations: 1.067 MB / 1.095 GB, free: 9.648 MB / 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