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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001224/0.001224, allocations: 109.3 kB / 15.7 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 197.4 kB / 16.63 MB, free: 6.609 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.561/1.561, allocations: 222.9 MB / 240.3 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.533/2.533, allocations: 390.3 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 63.5 kB / 0.9509 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3894, allocations: 140.4 MB / 1.088 GB, free: 1.426 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002933/0.3923, allocations: 1.266 MB / 1.089 GB, free: 152 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.3939, allocations: 0.8281 MB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.858e-05/0.394, allocations: 0 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.216e-05/0.394, allocations: 3.938 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.132e-05/0.3941, allocations: 7.938 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006792/0.3948, allocations: 135.4 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.19e-05/0.3949, allocations: 23.86 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.307e-05/0.3949, allocations: 3.938 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.38e-05/0.395, allocations: 12 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.15e-05/0.3951, allocations: 11.92 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.3951, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003823/0.3955, allocations: 171.8 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.3955, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.106e-05/0.3956, allocations: 11.92 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.3959, allocations: 119.7 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.3959, allocations: 4 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.866e-06/0.3959, allocations: 3.938 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.3959, allocations: 0 / 1.091 GB, free: 14.82 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.0005432/0.3965, allocations: 355.5 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.3965, allocations: 12.03 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.001e-05/0.3966, allocations: 12.83 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.3967, allocations: 164.4 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.794e-05/0.3968, allocations: 30.27 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.3968, allocations: 4.375 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.397, allocations: 46.25 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.397, allocations: 3.938 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.397, allocations: 0 / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3971, allocations: 0 / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.3972, allocations: 23.92 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/0.3974, allocations: 153.7 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.3976, allocations: 54.59 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.903e-05/0.3977, allocations: 16.8 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002949/0.398, allocations: 178.3 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.398, allocations: 30.56 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.398, allocations: 4 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002739/0.3983, allocations: 73.55 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.3984, allocations: 55.41 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.887e-05/0.3984, allocations: 93.84 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.3985, allocations: 33.7 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.975e-05/0.3985, allocations: 80.14 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/0.3985, allocations: 15.73 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.3986, allocations: 17.72 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.3987, allocations: 318.8 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.403e-05/0.3988, allocations: 12 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.976e-05/0.3988, allocations: 11.92 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.62e-05/0.3989, allocations: 36.78 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.3989, allocations: 0 / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001317/0.3991, allocations: 50.16 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.3991, allocations: 10.28 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3991, allocations: 0 / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.3991, allocations: 8.047 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.533e-05/0.3992, allocations: 11.97 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.3992, allocations: 0 / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.231e-05/0.3992, allocations: 4 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.3993, allocations: 0 / 1.092 GB, free: 12.67 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 8.538e-05/0.3993, allocations: 109.8 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.3994, allocations: 11.84 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.3996, allocations: 73.09 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3996, allocations: 4 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3996, allocations: 0 / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3996, allocations: 0 / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.3997, allocations: 157.7 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3997, allocations: 0 / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.981e-05/0.3998, allocations: 11.98 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.3998, allocations: 3.938 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.3998, allocations: 0 / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3998, allocations: 0 / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3998, allocations: 0 / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.4, allocations: 89.05 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.647e-05/0.4001, allocations: 85.11 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.4001, allocations: 3.938 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.134e-05/0.4001, allocations: 7.984 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.4002, allocations: 0 / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/0.4002, allocations: 3.938 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.694e-05/0.4002, allocations: 83.28 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4003, allocations: 4 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003576/0.4006, allocations: 39.92 kB / 1.093 GB, free: 11.89 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/0.4009, allocations: 135.7 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001748/0.4011, allocations: 27.98 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 9.278e-06/0.4011, allocations: 7.938 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.39e-05/0.4011, allocations: 11.98 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.4014, allocations: 12 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004093/0.4018, allocations: 123.1 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.4021, allocations: 0.6768 MB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.031e-05/0.4022, allocations: 8 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.353e-05/0.4022, allocations: 11.44 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of SimCode: time 3.01e-07/0.4022, allocations: 0 / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of Templates: time 0.003904/0.4061, allocations: 1.062 MB / 1.095 GB, free: 9.762 MB / 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/jenkins/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