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.001152/0.001152, allocations: 119.5 kB / 16.42 MB, free: 6.488 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.001235/0.001235, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.362/1.362, allocations: 222.9 MB / 241.1 MB, free: 15.1 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.288/2.288, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 67.89 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047/1.048, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002852/1.051, allocations: 1.274 MB / 1.09 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001603/1.052, allocations: 0.8228 MB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.186e-05/1.052, allocations: 1.094 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.087e-05/1.053, allocations: 3.938 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.436e-05/1.053, allocations: 6.375 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000608/1.053, allocations: 130.5 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.76e-05/1.053, allocations: 23.47 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.023e-05/1.053, allocations: 2.172 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.817e-05/1.053, allocations: 16.52 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.978e-05/1.054, allocations: 11 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/1.054, allocations: 1.156 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004314/1.054, allocations: 173.5 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/1.054, allocations: 2.844 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/1.054, allocations: 10.23 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003594/1.054, allocations: 121.4 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/1.054, allocations: 0 / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.968e-06/1.054, allocations: 1.578 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.789e-05/1.054, allocations: 0 / 1.091 GB, free: 3.875 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.0005439/1.055, allocations: 361.2 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/1.055, allocations: 12.59 kB / 1.092 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.714e-05/1.055, allocations: 8.703 kB / 1.092 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/1.055, allocations: 170.5 kB / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-05/1.055, allocations: 33.89 kB / 1.092 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/1.055, allocations: 1.469 kB / 1.092 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/1.056, allocations: 43.97 kB / 1.092 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/1.056, allocations: 5.156 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/1.056, allocations: 0 / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/1.056, allocations: 5.453 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/1.056, allocations: 17.84 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001752/1.056, allocations: 159.2 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/1.056, allocations: 54.67 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.502e-05/1.056, allocations: 13.08 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003307/1.057, allocations: 182.6 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/1.057, allocations: 35.62 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/1.057, allocations: 4 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002738/1.057, allocations: 69.22 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.844e-05/1.057, allocations: 51.41 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.604e-05/1.057, allocations: 99.12 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/1.057, allocations: 31.66 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.575e-05/1.057, allocations: 80.14 kB / 1.093 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/1.057, allocations: 9.984 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/1.057, allocations: 19.44 kB / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.068e-05/1.057, allocations: 316.3 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.102e-05/1.057, allocations: 7.594 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.252e-05/1.057, allocations: 12.05 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.217e-05/1.057, allocations: 29.25 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.057, allocations: 4 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001246/1.057, allocations: 53.61 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/1.058, allocations: 6.016 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1.058, allocations: 7.938 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/1.058, allocations: 5 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.539e-05/1.058, allocations: 7.594 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/1.058, allocations: 0.6562 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.178e-05/1.058, allocations: 2.234 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/1.058, allocations: 2.422 kB / 1.093 GB, free: 1.988 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 4.939e-05/1.058, allocations: 111.3 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/1.058, allocations: 6.125 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001752/1.058, allocations: 72 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/1.058, allocations: 1.859 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/1.058, allocations: 0.5625 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/1.058, allocations: 81.34 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/1.058, allocations: 5.453 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.944e-05/1.058, allocations: 10.58 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/1.058, allocations: 3.719 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001516/1.058, allocations: 133.7 kB / 1.093 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001608/1.058, allocations: 236.8 kB / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.78e-05/1.058, allocations: 14.48 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.047e-05/1.059, allocations: 83.75 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of Backend: time 1.303e-06/1.059, allocations: 0 / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005436/1.059, allocations: 158.4 kB / 1.094 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003242/1.059, allocations: 0.5734 MB / 1.094 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of Templates: time 0.004318/1.064, allocations: 1.404 MB / 1.096 GB, free: 460 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