Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001677/0.001678, allocations: 105.6 kB / 16.41 MB, free: 6.457 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.001866/0.001866, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.492/1.492, 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.257/2.257, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 63.91 kB / 0.9515 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.225/1.227, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002756/1.23, allocations: 1.262 MB / 1.09 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001482/1.232, allocations: 0.8206 MB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.625e-05/1.232, allocations: 0 / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.983e-05/1.232, allocations: 4.641 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.827e-05/1.232, allocations: 10.22 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005786/1.232, allocations: 133.5 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/1.232, allocations: 23.58 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.131e-05/1.232, allocations: 3.281 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.582e-05/1.232, allocations: 16.25 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.931e-05/1.233, allocations: 14.95 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/1.233, allocations: 1.188 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004292/1.233, allocations: 170.1 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/1.233, allocations: 10.72 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.514e-05/1.233, allocations: 8.312 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003194/1.233, allocations: 118.9 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/1.233, allocations: 0 / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.817e-06/1.233, allocations: 1.516 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.542e-06/1.233, allocations: 0 / 1.091 GB, free: 3.867 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.0005005/1.234, allocations: 360.4 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/1.234, allocations: 9.688 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/1.234, allocations: 6.875 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.979e-05/1.234, allocations: 167.9 kB / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.399e-05/1.234, allocations: 29.64 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/1.234, allocations: 5.594 kB / 1.092 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/1.234, allocations: 44.45 kB / 1.092 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/1.234, allocations: 4.594 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/1.234, allocations: 5.125 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/1.234, allocations: 0 / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/1.235, allocations: 14.91 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/1.235, allocations: 167 kB / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/1.235, allocations: 41.02 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.286e-05/1.235, allocations: 18.61 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000326/1.235, allocations: 177.9 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/1.235, allocations: 48 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/1.235, allocations: 0 / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002736/1.236, allocations: 64.27 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/1.236, allocations: 57.05 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.194e-05/1.236, allocations: 94.23 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/1.236, allocations: 27.59 kB / 1.092 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.834e-05/1.236, allocations: 80.14 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/1.236, allocations: 19.42 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/1.236, allocations: 14.17 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.935e-05/1.236, allocations: 316.2 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.354e-05/1.236, allocations: 8.281 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.736e-05/1.236, allocations: 11.94 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/1.236, allocations: 29.98 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.236, allocations: 0 / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001346/1.236, allocations: 60.67 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.236, allocations: 10.52 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/1.236, allocations: 48 / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/1.236, allocations: 8.672 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.762e-05/1.237, allocations: 7.641 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/1.237, allocations: 5.344 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.344e-05/1.237, allocations: 6.516 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/1.237, allocations: 0.7812 kB / 1.093 GB, free: 1.98 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.783e-05/1.237, allocations: 112.9 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/1.237, allocations: 13.06 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001973/1.237, allocations: 68.38 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/1.237, allocations: 0.8125 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.237, allocations: 0.7812 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/1.237, allocations: 0.5156 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.218e-05/1.237, allocations: 155.6 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/1.237, allocations: 0 / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.168e-05/1.237, allocations: 8.312 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/1.237, allocations: 5.391 kB / 1.093 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/1.237, allocations: 4.906 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/1.237, allocations: 0 / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.237, allocations: 1.062 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/1.237, allocations: 82.83 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.171e-05/1.237, allocations: 89.02 kB / 1.093 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/1.237, allocations: 5.375 kB / 1.094 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.176e-05/1.237, allocations: 7.422 kB / 1.094 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/1.237, allocations: 6.828 kB / 1.094 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.994e-06/1.237, allocations: 2.641 kB / 1.094 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.591e-05/1.238, allocations: 78.17 kB / 1.094 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/1.238, allocations: 0 / 1.094 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002584/1.238, allocations: 37.19 kB / 1.094 GB, free: 1.328 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 (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 Backend phase and start with SimCode phase: time 0.0002503/1.238, allocations: 137.3 kB / 1.094 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001773/1.238, allocations: 29.42 kB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.238, allocations: 4.625 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.041e-05/1.238, allocations: 17.27 kB / 1.094 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/1.239, allocations: 4.016 kB / 1.094 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/1.239, allocations: 153.5 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/1.239, allocations: 0.6764 MB / 1.095 GB, free: 380 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/1.239, allocations: 18.77 kB / 1.095 GB, free: 364 kB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/1.239, allocations: 5.438 kB / 1.095 GB, free: 360 kB / 0.8575 GB Notification: Performance of Templates: time 0.00331/1.242, allocations: 0.9903 MB / 1.096 GB, free: 256 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches