Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001637/0.001637, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001888/0.001888, allocations: 197.9 kB / 16.91 MB, free: 6.195 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.409/1.409, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.719/2.719, allocations: 469.8 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002027, allocations: 64.73 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3918, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002531/0.3944, allocations: 1.34 MB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.3958, allocations: 0.8257 MB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.49e-05/0.3958, allocations: 0 / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.039e-05/0.3958, allocations: 0 / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.261e-05/0.3959, allocations: 11.94 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000461/0.3964, allocations: 115.6 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.123e-05/0.3964, allocations: 23.88 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.354e-05/0.3965, allocations: 11.91 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.592e-05/0.3965, allocations: 8 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.745e-05/0.3966, allocations: 15.92 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.3966, allocations: 0 / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003164/0.3969, allocations: 175.7 kB / 1.067 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.397, allocations: 8 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.529e-05/0.397, allocations: 15.86 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.3972, allocations: 76.14 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3972, allocations: 0 / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3972, allocations: 0 / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.3972, allocations: 0 / 1.067 GB, free: 12.5 MB / 0.8419 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.0004811/0.3977, allocations: 363.4 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.3977, allocations: 12.03 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.3978, allocations: 4.844 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.3979, allocations: 168.4 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.24e-05/0.398, allocations: 30.25 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.398, allocations: 4.375 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.3981, allocations: 46.19 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3982, allocations: 3.938 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.3982, allocations: 0 / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3982, allocations: 0 / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.3983, allocations: 19.98 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/0.3985, allocations: 161.6 kB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.3987, allocations: 46.61 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.616e-05/0.3988, allocations: 20.94 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003163/0.3991, allocations: 178.2 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.3992, allocations: 42.5 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3992, allocations: 0 / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0002554/0.3994, allocations: 69.61 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.3995, allocations: 51.41 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.329e-05/0.3996, allocations: 98.05 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.3996, allocations: 25.7 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.167e-05/0.3996, allocations: 80.14 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.3997, allocations: 11.8 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.3997, allocations: 21.72 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3999, allocations: 314.8 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.532e-05/0.3999, allocations: 11.98 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.856e-05/0.4, allocations: 4.188 kB / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.4001, allocations: 40.86 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4001, allocations: 0 / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001311/0.4002, allocations: 49.69 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.4003, allocations: 15.92 kB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4003, allocations: 8 kB / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.4003, allocations: 0 / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.248e-05/0.4003, allocations: 4 kB / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.4003, allocations: 0 / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.536e-05/0.4004, allocations: 15.94 kB / 1.069 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.4004, allocations: 0 / 1.069 GB, free: 10.35 MB / 0.8419 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.619e-05/0.4005, allocations: 121.7 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.4005, allocations: 11.84 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001923/0.4007, allocations: 65.17 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.4007, allocations: 0 / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4007, allocations: 0 / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.4007, allocations: 0 / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.4009, allocations: 153.7 kB / 1.069 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4009, allocations: 0 / 1.069 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.647e-05/0.4009, allocations: 12 kB / 1.069 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.401, allocations: 3.938 kB / 1.069 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.401, allocations: 3.938 kB / 1.069 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.401, allocations: 11.98 kB / 1.069 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.401, allocations: 0 / 1.069 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.4012, allocations: 77.06 kB / 1.069 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-05/0.4012, allocations: 89 kB / 1.069 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.4013, allocations: 3.938 kB / 1.069 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.109e-05/0.4013, allocations: 4 kB / 1.069 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.4013, allocations: 3.984 kB / 1.069 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.4014, allocations: 12 kB / 1.069 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.044e-05/0.4014, allocations: 75.28 kB / 1.069 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4014, allocations: 0 / 1.069 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002351/0.4017, allocations: 35.94 kB / 1.069 GB, free: 9.574 MB / 0.8419 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.0002399/0.4019, allocations: 135.2 kB / 1.069 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001568/0.4021, allocations: 31.92 kB / 1.069 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4021, allocations: 4 kB / 1.069 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.769e-05/0.4021, allocations: 16.36 kB / 1.069 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.4024, allocations: 4 kB / 1.069 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003454/0.4027, allocations: 156.8 kB / 1.07 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.4031, allocations: 0.6767 MB / 1.07 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.4031, allocations: 15.42 kB / 1.07 GB, free: 8.469 MB / 0.8419 GB Notification: Performance of SimCode: time 2.8e-07/0.4031, allocations: 4 kB / 1.07 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of Templates: time 0.002737/0.4058, allocations: 0.9874 MB / 1.071 GB, free: 7.477 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches