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.006985/0.006985, allocations: 103.2 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.001591/0.001591, allocations: 194.1 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 4.164 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.546/2.546, allocations: 390.2 MB / 0.6648 GB, free: 140 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 63.19 kB / 0.9508 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3698, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002967/0.3728, allocations: 1.258 MB / 1.089 GB, free: 240 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001835/0.3747, allocations: 0.8631 MB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.543e-05/0.3747, allocations: 0 / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.606e-05/0.3748, allocations: 0 / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.375, allocations: 11.91 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008757/0.3759, allocations: 205.2 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.412e-05/0.376, allocations: 15.88 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.43e-05/0.376, allocations: 4 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.991e-05/0.3761, allocations: 11.98 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.492e-05/0.3762, allocations: 4 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.3762, allocations: 3.938 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004377/0.3766, allocations: 239.7 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.3767, allocations: 4 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.928e-05/0.3767, allocations: 7.984 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003089/0.377, allocations: 151.7 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.377, allocations: 0 / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.675e-06/0.377, allocations: 0 / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.377, allocations: 0 / 1.091 GB, free: 14.72 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.000664/0.3777, allocations: 359.5 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.3778, allocations: 8.031 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002277/0.378, allocations: 4.938 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.3782, allocations: 172.4 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.3782, allocations: 4.312 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.3782, allocations: 8.125 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.3784, allocations: 41.69 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3784, allocations: 0 / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.3784, allocations: 4 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.3784, allocations: 4 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.078e-05/0.3785, allocations: 19.97 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002104/0.3787, allocations: 161.5 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009294/0.3796, allocations: 138.5 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.897e-05/0.3797, allocations: 24.8 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001379/0.3798, allocations: 85.09 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.3799, allocations: 34.56 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3799, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001807/0.3801, allocations: 57.69 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.3801, allocations: 55.41 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.3802, allocations: 97.84 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.3802, allocations: 25.7 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.368e-05/0.3803, allocations: 84.08 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.3803, allocations: 11.84 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.3804, allocations: 25.75 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.3805, allocations: 310.8 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.469e-05/0.3805, allocations: 11.98 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.608e-05/0.3805, allocations: 4 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.12e-05/0.3806, allocations: 28.84 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.3806, allocations: 0 / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.958e-05/0.3807, allocations: 57.62 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3807, allocations: 4 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3807, allocations: 0 / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3808, allocations: 4 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.742e-05/0.3808, allocations: 11.94 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3808, allocations: 0 / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.822e-05/0.3809, allocations: 0 / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.3809, allocations: 8 kB / 1.092 GB, free: 12.65 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.592e-05/0.381, allocations: 109.8 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.381, allocations: 3.938 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002509/0.3813, allocations: 85.16 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.3813, allocations: 0 / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.3813, allocations: 0 / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.3813, allocations: 0 / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.3814, allocations: 165.5 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.3814, allocations: 0 / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.492e-05/0.3815, allocations: 11.94 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3815, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.3815, allocations: 4 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3815, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3815, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.3816, allocations: 93.36 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.278e-05/0.3817, allocations: 85.09 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.3817, allocations: 4 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.963e-05/0.3818, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.3818, allocations: 11.97 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.3818, allocations: 4 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.48e-05/0.3819, allocations: 75.28 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3819, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002707/0.3822, allocations: 52 kB / 1.093 GB, free: 11.86 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.0004397/0.3826, allocations: 166.5 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001383/0.3828, allocations: 32.08 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3828, allocations: 0 / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.937e-05/0.3828, allocations: 15.98 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.383, allocations: 19.81 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000408/0.3834, allocations: 122.7 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/0.3839, allocations: 0.6768 MB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.701e-05/0.3839, allocations: 8 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.384, allocations: 11.44 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.384, allocations: 0 / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of Templates: time 0.004539/0.3885, allocations: 1.08 MB / 1.095 GB, free: 9.684 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