Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008349/0.008349, allocations: 100.1 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.001581/0.001582, allocations: 190.6 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.396/2.396, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 66.77 kB / 0.9508 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3369, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003444/0.3404, allocations: 1.492 MB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001489/0.3419, allocations: 0.8082 MB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/0.342, allocations: 4 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.484e-05/0.3421, allocations: 3.938 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.219e-05/0.3422, allocations: 15.84 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007029/0.3429, allocations: 123.5 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000123/0.343, allocations: 51.84 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.3432, allocations: 19.98 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.333e-05/0.3432, allocations: 19.92 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.962e-05/0.3433, allocations: 31.8 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.3433, allocations: 4 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004333/0.3438, allocations: 167.8 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.797e-05/0.3438, allocations: 7.984 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.394e-05/0.3438, allocations: 23.88 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.3441, allocations: 151.6 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3442, allocations: 4 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.129e-06/0.3442, allocations: 0 / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.3442, allocations: 3.938 kB / 1.091 GB, free: 14.57 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006699/0.3449, allocations: 395.3 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.3449, allocations: 12.03 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.345, allocations: 8.844 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.3451, allocations: 164.3 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.3451, allocations: 8.312 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.3452, allocations: 4.375 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/0.3454, allocations: 78.19 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3454, allocations: 192 / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.3455, allocations: 7.938 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3455, allocations: 4 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002771/0.3458, allocations: 71.86 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.3462, allocations: 288.7 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.3464, allocations: 50.55 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.3465, allocations: 40.91 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002/0.3467, allocations: 93.09 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.3468, allocations: 38.5 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3468, allocations: 0 / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005225/0.3473, allocations: 129.6 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.3474, allocations: 51.41 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.441e-05/0.3475, allocations: 117.8 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.3475, allocations: 29.7 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.075e-05/0.3475, allocations: 88.14 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.3476, allocations: 7.812 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.3476, allocations: 21.7 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.3477, allocations: 318.8 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.3479, allocations: 31.97 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.348, allocations: 35.89 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/0.3483, allocations: 73.05 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3483, allocations: 4 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002913/0.3486, allocations: 93.62 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.3486, allocations: 8 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3486, allocations: 0 / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3486, allocations: 0 / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.3487, allocations: 11.98 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.3488, allocations: 11.98 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.343e-05/0.3488, allocations: 11.98 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.3489, allocations: 4 kB / 1.093 GB, free: 12.06 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 (3): * Single equations (assignments): 3 * 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 7.449e-05/0.3489, allocations: 113.7 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.349, allocations: 7.906 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003571/0.3493, allocations: 109.5 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3494, allocations: 0 / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3494, allocations: 0 / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3494, allocations: 0 / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.3495, allocations: 177.5 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3496, allocations: 0 / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.153e-05/0.3497, allocations: 15.98 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3497, allocations: 3.938 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.3497, allocations: 0 / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3497, allocations: 0 / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.3497, allocations: 11.98 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/0.35, allocations: 199.3 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.949e-05/0.3501, allocations: 77.11 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.3501, allocations: 7.938 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.3502, allocations: 15.97 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.3503, allocations: 8 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.3503, allocations: 4 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.637e-05/0.3504, allocations: 91.27 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3504, allocations: 0 / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000276/0.3506, allocations: 28 kB / 1.094 GB, free: 11.1 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 (3): * Single equations (assignments): 3 * 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.0002381/0.3509, allocations: 135.2 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003413/0.3512, allocations: 75.86 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3512, allocations: 0 / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.3514, allocations: 31.97 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.3517, allocations: 16.69 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004029/0.3521, allocations: 151.2 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.3524, allocations: 0.6807 MB / 1.095 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.984e-05/0.3525, allocations: 7.984 kB / 1.095 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.3525, allocations: 7.438 kB / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of SimCode: time 3.9e-07/0.3525, allocations: 0 / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of Templates: time 0.004335/0.3569, allocations: 1.409 MB / 1.096 GB, free: 8.555 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches