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.009442/0.009442, allocations: 106.8 kB / 15.74 MB, free: 6.051 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.001708/0.001708, allocations: 197 kB / 16.68 MB, free: 5.98 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.528/1.528, allocations: 222.9 MB / 240.4 MB, free: 4.184 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.536/2.536, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.03 kB / 0.9508 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4017, allocations: 140.4 MB / 1.088 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003163/0.405, allocations: 1.496 MB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.4067, allocations: 0.816 MB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.029e-05/0.4068, allocations: 0 / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.082e-05/0.4068, allocations: 3.938 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.501e-05/0.4069, allocations: 15.86 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004783/0.4074, allocations: 127.5 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.467e-05/0.4075, allocations: 51.78 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.4076, allocations: 16 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.828e-05/0.4077, allocations: 15.92 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.626e-05/0.4077, allocations: 35.83 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.4077, allocations: 4 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003242/0.4081, allocations: 167.8 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.4081, allocations: 8 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.635e-05/0.4081, allocations: 23.84 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.4084, allocations: 155.5 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4084, allocations: 0 / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.31e-07/0.4084, allocations: 4 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.4084, allocations: 0 / 1.091 GB, free: 14.58 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.0005338/0.409, allocations: 391.3 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.409, allocations: 12.03 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.828e-05/0.409, allocations: 4.844 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.4092, allocations: 176.3 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.61e-06/0.4092, allocations: 384 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.4092, allocations: 8.375 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.4094, allocations: 74.22 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.4094, allocations: 4.125 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.4094, allocations: 3.938 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.715e-06/0.4095, allocations: 0 / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000252/0.4097, allocations: 67.92 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/0.4101, allocations: 288.7 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.4103, allocations: 58.47 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.4105, allocations: 40.92 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000221/0.4107, allocations: 93.09 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.4107, allocations: 30.56 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.4107, allocations: 0 / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005493/0.4113, allocations: 129.6 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.4114, allocations: 67.28 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.4115, allocations: 113.8 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.4115, allocations: 25.7 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.4116, allocations: 92.12 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.4116, allocations: 7.812 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.4116, allocations: 21.66 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.4118, allocations: 322.8 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.4119, allocations: 31.97 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.412, allocations: 31.95 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.4123, allocations: 64.8 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4123, allocations: 0 / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000283/0.4126, allocations: 105.6 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.4126, allocations: 6.031 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.4126, allocations: 0 / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.4127, allocations: 4 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.4128, allocations: 15.92 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.4128, allocations: 0 / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.184e-05/0.4129, allocations: 19.98 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.4129, allocations: 0 / 1.093 GB, free: 12.07 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 9.072e-05/0.413, allocations: 117.8 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.413, allocations: 11.89 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003618/0.4134, allocations: 97.52 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.4134, allocations: 8 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.4134, allocations: 0 / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4134, allocations: 0 / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.4136, allocations: 181.6 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4136, allocations: 0 / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.396e-05/0.4137, allocations: 19.98 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.4137, allocations: 0 / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.4138, allocations: 3.938 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4138, allocations: 0 / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4138, allocations: 0 / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.4141, allocations: 203.3 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.4142, allocations: 81.05 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.4142, allocations: 4 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.513e-05/0.4143, allocations: 11.98 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.4144, allocations: 7.984 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.4144, allocations: 4 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.45e-05/0.4144, allocations: 87.28 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4144, allocations: 0 / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002824/0.4147, allocations: 35.98 kB / 1.094 GB, free: 11.11 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.0002348/0.415, allocations: 123.2 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003399/0.4153, allocations: 80.22 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4153, allocations: 0 / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.4155, allocations: 35.95 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.0002779/0.4157, allocations: 12.89 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003782/0.4161, allocations: 159.2 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.4165, allocations: 0.6845 MB / 1.095 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.541e-05/0.4165, allocations: 3.984 kB / 1.095 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.693e-05/0.4165, allocations: 11.44 kB / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.4165, allocations: 0 / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of Templates: time 0.00457/0.4211, allocations: 1.364 MB / 1.096 GB, free: 8.594 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