Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.00125, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.0114/0.0114, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.456/1.456, allocations: 223.3 MB / 240.3 MB, free: 5.234 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.689/2.689, allocations: 390.9 MB / 0.6663 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003864, allocations: 12 kB / 0.8159 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8872/0.8877, allocations: 142.4 MB / 0.955 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002262/0.89, allocations: 1.626 MB / 0.9566 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1955/1.085, allocations: 151.5 MB / 1.105 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002224/1.086, allocations: 0 / 1.105 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002004/1.086, allocations: 27.78 kB / 1.105 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003673/1.086, allocations: 59.61 kB / 1.105 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008049/1.087, allocations: 230.5 kB / 1.105 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003585/1.088, allocations: 267.1 kB / 1.105 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002172/1.088, allocations: 56.39 kB / 1.105 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002093/1.09, allocations: 222.9 kB / 1.105 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/1.09, allocations: 71.62 kB / 1.105 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/1.09, allocations: 4 kB / 1.105 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000404/1.09, allocations: 183.7 kB / 1.106 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.329e-05/1.091, allocations: 31.89 kB / 1.106 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001109/1.091, allocations: 105.2 kB / 1.106 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004148/1.091, allocations: 267.1 kB / 1.106 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/1.091, allocations: 0 / 1.106 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.883e-06/1.091, allocations: 4 kB / 1.106 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.64e-06/1.091, allocations: 0 / 1.106 GB, free: 4.191 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009452/1.092, allocations: 0.5027 MB / 1.107 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/1.092, allocations: 12.03 kB / 1.107 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009169/1.093, allocations: 79.73 kB / 1.107 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/1.093, allocations: 231.5 kB / 1.107 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.49e-05/1.093, allocations: 38.03 kB / 1.107 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.672e-05/1.094, allocations: 16 kB / 1.107 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005768/1.094, allocations: 278.5 kB / 1.107 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/1.094, allocations: 0 / 1.107 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/1.094, allocations: 8 kB / 1.107 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/1.094, allocations: 4 kB / 1.107 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005032/1.095, allocations: 183.7 kB / 1.107 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/1.096, allocations: 1.181 MB / 1.108 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008257/1.097, allocations: 214.7 kB / 1.109 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/1.098, allocations: 76.81 kB / 1.109 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/1.098, allocations: 4 kB / 1.109 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/1.098, allocations: 30.56 kB / 1.109 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.683e-06/1.098, allocations: 0 / 1.109 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.002933/1.101, allocations: 0.6492 MB / 1.109 GB, free: 448 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/1.101, allocations: 55.34 kB / 1.109 GB, free: 380 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/1.101, allocations: 218.9 kB / 1.11 GB, free: 152 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/1.101, allocations: 29.7 kB / 1.11 GB, free: 116 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/1.101, allocations: 136.2 kB / 1.11 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.023e-05/1.101, allocations: 39.36 kB / 1.11 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.361e-05/1.101, allocations: 33.7 kB / 1.11 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.101, allocations: 326.8 kB / 1.11 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/1.102, allocations: 75.94 kB / 1.11 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/1.102, allocations: 137.5 kB / 1.11 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004493/1.102, allocations: 210.7 kB / 1.111 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.102, allocations: 0 / 1.111 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001623/1.104, allocations: 388.2 kB / 1.111 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/1.104, allocations: 4 kB / 1.111 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/1.104, allocations: 7.984 kB / 1.111 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/1.105, allocations: 169.7 kB / 1.111 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/1.105, allocations: 39.97 kB / 1.111 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00403/1.11, allocations: 3.037 MB / 1.114 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004091/1.11, allocations: 35.81 kB / 1.114 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/1.11, allocations: 8 kB / 1.114 GB, free: 11.13 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000182/1.11, allocations: 133.8 kB / 1.114 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.827e-05/1.11, allocations: 16 kB / 1.114 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/1.112, allocations: 393.1 kB / 1.115 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/1.112, allocations: 4 kB / 1.115 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.112, allocations: 3.938 kB / 1.115 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/1.112, allocations: 0 / 1.115 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004485/1.112, allocations: 277.4 kB / 1.115 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/1.112, allocations: 0 / 1.115 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/1.112, allocations: 27.98 kB / 1.115 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/1.113, allocations: 161.5 kB / 1.115 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/1.114, allocations: 4 kB / 1.115 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004021/1.118, allocations: 3.088 MB / 1.118 GB, free: 6.691 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/1.118, allocations: 0 / 1.118 GB, free: 6.691 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/1.119, allocations: 442.4 kB / 1.119 GB, free: 6.238 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/1.119, allocations: 120.7 kB / 1.119 GB, free: 6.102 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/1.119, allocations: 7.984 kB / 1.119 GB, free: 6.094 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/1.12, allocations: 19.98 kB / 1.119 GB, free: 6.074 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.877e-05/1.12, allocations: 19.92 kB / 1.119 GB, free: 6.055 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/1.12, allocations: 7.984 kB / 1.119 GB, free: 6.047 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002327/1.12, allocations: 159.2 kB / 1.119 GB, free: 5.891 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/1.12, allocations: 0 / 1.119 GB, free: 5.891 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005168/1.121, allocations: 71.94 kB / 1.119 GB, free: 5.82 MB / 0.8731 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002467/1.121, allocations: 111.2 kB / 1.119 GB, free: 5.703 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001249/1.122, allocations: 461.4 kB / 1.12 GB, free: 5.227 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.122, allocations: 3.938 kB / 1.12 GB, free: 5.223 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007352/1.123, allocations: 361.2 kB / 1.12 GB, free: 4.844 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005035/1.123, allocations: 49.69 kB / 1.12 GB, free: 4.797 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/1.124, allocations: 0.4935 MB / 1.12 GB, free: 4.281 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/1.125, allocations: 0.7324 MB / 1.121 GB, free: 3.523 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002304/1.125, allocations: 37.97 kB / 1.121 GB, free: 3.484 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.228e-05/1.125, allocations: 23.36 kB / 1.121 GB, free: 3.461 MB / 0.8731 GB Notification: Performance of SimCode: time 7.11e-07/1.125, allocations: 0 / 1.121 GB, free: 3.461 MB / 0.8731 GB Notification: Performance of Templates: time 0.01072/1.136, allocations: 4.927 MB / 1.126 GB, free: 14.59 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches