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.001208/0.001208, allocations: 108.5 kB / 16.41 MB, free: 6.477 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.001225/0.001225, allocations: 183 kB / 17.34 MB, free: 5.754 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.15 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.291/2.291, allocations: 390.2 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 59.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7926/0.794, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002249/0.7963, allocations: 1.279 MB / 1.09 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.7977, allocations: 0.8703 MB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.817e-05/0.7977, allocations: 0 / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.161e-05/0.7978, allocations: 0.7969 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.44e-05/0.7978, allocations: 9.984 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007044/0.7985, allocations: 188.5 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.682e-05/0.7986, allocations: 31.59 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.196e-05/0.7987, allocations: 2.75 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.916e-05/0.7987, allocations: 4.359 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.378e-05/0.7988, allocations: 12.97 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.7988, allocations: 1.188 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004565/0.7992, allocations: 235.4 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.191e-05/0.7993, allocations: 5.438 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.511e-05/0.7993, allocations: 4.812 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002947/0.7996, allocations: 149.8 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.7996, allocations: 0 / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.385e-06/0.7996, allocations: 1.641 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.7996, allocations: 4 kB / 1.091 GB, free: 3.824 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.0003612/0.8, allocations: 349.5 kB / 1.092 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.8, allocations: 10.48 kB / 1.092 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.8002, allocations: 8.812 kB / 1.092 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.037e-05/0.8003, allocations: 166.7 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.8003, allocations: 1.469 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-06/0.8003, allocations: 9.125 kB / 1.092 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.8004, allocations: 42.2 kB / 1.092 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.8005, allocations: 4 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.8005, allocations: 5.922 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.8005, allocations: 0 / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.937e-05/0.8005, allocations: 19.81 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001124/0.8006, allocations: 157.6 kB / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008567/0.8015, allocations: 138.2 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.353e-05/0.8016, allocations: 23.7 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.91e-05/0.8017, allocations: 83.55 kB / 1.092 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.8017, allocations: 39.89 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.8017, allocations: 0.7812 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001933/0.8019, allocations: 58.69 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.8019, allocations: 60.78 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.298e-05/0.802, allocations: 92.05 kB / 1.093 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.802, allocations: 30.52 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.308e-05/0.802, allocations: 80.14 kB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.8021, allocations: 10.8 kB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.8021, allocations: 23.38 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.54e-05/0.8021, allocations: 312.6 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.412e-05/0.8022, allocations: 9.469 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.908e-05/0.8022, allocations: 9.969 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.101e-05/0.8023, allocations: 29.98 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8023, allocations: 0 / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.744e-05/0.8024, allocations: 57.56 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.8024, allocations: 9 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.8024, allocations: 1.5 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.8024, allocations: 0 / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.626e-05/0.8025, allocations: 7.047 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.8025, allocations: 1.625 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.713e-05/0.8025, allocations: 1.031 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.8025, allocations: 4.844 kB / 1.093 GB, free: 2.059 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 5.698e-05/0.8026, allocations: 118.4 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.8026, allocations: 6.047 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.8028, allocations: 75.91 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.8029, allocations: 4.844 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.8029, allocations: 0.8125 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.8029, allocations: 4.641 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.271e-05/0.803, allocations: 159.6 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.803, allocations: 1.156 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.024e-05/0.803, allocations: 7.812 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.803, allocations: 4.609 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.8031, allocations: 4.812 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.8031, allocations: 1.406 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8031, allocations: 0 / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.8032, allocations: 93.52 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.732e-05/0.8032, allocations: 85.42 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.8032, allocations: 1.469 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.556e-05/0.8033, allocations: 5.031 kB / 1.094 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.735e-05/0.8033, allocations: 3.625 kB / 1.094 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.8033, allocations: 2.391 kB / 1.094 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.767e-05/0.8034, allocations: 80.12 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8034, allocations: 4.094 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002754/0.8036, allocations: 50.81 kB / 1.094 GB, free: 1.387 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.0003767/0.804, allocations: 166 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001063/0.8041, allocations: 27 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8041, allocations: 0 / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.183e-05/0.8042, allocations: 19.7 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.8044, allocations: 12.47 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003194/0.8047, allocations: 151.8 kB / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.046e-05/0.8048, allocations: 0.6753 MB / 1.095 GB, free: 436 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.8048, allocations: 12.42 kB / 1.095 GB, free: 428 kB / 0.8575 GB Notification: Performance of SimCode: time 1.142e-06/0.8048, allocations: 0 / 1.095 GB, free: 428 kB / 0.8575 GB Notification: Performance of Templates: time 0.002997/0.8078, allocations: 1.05 MB / 1.096 GB, free: 340 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/jenkins1/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