Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001599/0.001599, allocations: 114.3 kB / 16.37 MB, free: 6 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.001567/0.001567, allocations: 195.9 kB / 17.31 MB, free: 5.613 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.451/2.451, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 72.41 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3078, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002887/0.3108, allocations: 1.918 MB / 1.029 GB, free: 136 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7771/1.088, allocations: 155.4 MB / 1.18 GB, free: 5.648 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001853/1.088, allocations: 1.094 kB / 1.18 GB, free: 5.648 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001858/1.088, allocations: 26.02 kB / 1.18 GB, free: 5.625 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003179/1.089, allocations: 76.44 kB / 1.18 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007784/1.09, allocations: 258 kB / 1.181 GB, free: 5.367 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003108/1.09, allocations: 268.7 kB / 1.181 GB, free: 5.211 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/1.09, allocations: 72.44 kB / 1.181 GB, free: 5.168 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/1.091, allocations: 251.9 kB / 1.181 GB, free: 5.059 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/1.091, allocations: 90.42 kB / 1.181 GB, free: 5 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/1.091, allocations: 14.09 kB / 1.181 GB, free: 5 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003444/1.092, allocations: 183 kB / 1.182 GB, free: 4.914 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.362e-05/1.092, allocations: 49.34 kB / 1.182 GB, free: 4.875 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.873e-05/1.092, allocations: 88.12 kB / 1.182 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004117/1.092, allocations: 286.4 kB / 1.182 GB, free: 4.641 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/1.092, allocations: 1.156 kB / 1.182 GB, free: 4.641 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.453e-06/1.092, allocations: 0 / 1.182 GB, free: 4.641 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.843e-06/1.092, allocations: 4 kB / 1.182 GB, free: 4.637 MB / 0.8887 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.0009454/1.093, allocations: 0.5249 MB / 1.182 GB, free: 4.152 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/1.093, allocations: 13.88 kB / 1.182 GB, free: 4.148 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008091/1.094, allocations: 84.69 kB / 1.183 GB, free: 4.113 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/1.095, allocations: 230.9 kB / 1.183 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-05/1.095, allocations: 41.41 kB / 1.183 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.619e-05/1.095, allocations: 23.06 kB / 1.183 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004979/1.095, allocations: 264 kB / 1.183 GB, free: 3.609 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/1.095, allocations: 5.094 kB / 1.183 GB, free: 3.605 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/1.095, allocations: 6.594 kB / 1.183 GB, free: 3.602 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/1.095, allocations: 7.703 kB / 1.183 GB, free: 3.598 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004259/1.096, allocations: 166.2 kB / 1.183 GB, free: 3.52 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/1.097, allocations: 1.176 MB / 1.184 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007139/1.098, allocations: 207.2 kB / 1.185 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/1.098, allocations: 71.88 kB / 1.185 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/1.098, allocations: 1.812 kB / 1.185 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/1.098, allocations: 39.59 kB / 1.185 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/1.098, allocations: 0 / 1.185 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of matching and sorting (n=12): time 0.002515/1.101, allocations: 0.6271 MB / 1.185 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/1.101, allocations: 53.53 kB / 1.185 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/1.101, allocations: 212.6 kB / 1.186 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/1.101, allocations: 26.89 kB / 1.186 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.504e-05/1.101, allocations: 148.2 kB / 1.186 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/1.101, allocations: 40.3 kB / 1.186 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-05/1.101, allocations: 50.03 kB / 1.186 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001051/1.101, allocations: 330.5 kB / 1.186 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/1.102, allocations: 68.44 kB / 1.186 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/1.102, allocations: 131.6 kB / 1.186 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003849/1.102, allocations: 203.9 kB / 1.187 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.102, allocations: 1.125 kB / 1.187 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001346/1.104, allocations: 375.3 kB / 1.187 GB, free: 492 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/1.104, allocations: 6.312 kB / 1.187 GB, free: 492 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/1.104, allocations: 2.062 kB / 1.187 GB, free: 492 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/1.105, allocations: 161.1 kB / 1.187 GB, free: 408 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/1.105, allocations: 43.12 kB / 1.187 GB, free: 392 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00396/1.109, allocations: 3.247 MB / 1.19 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00037/1.109, allocations: 34.3 kB / 1.19 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/1.109, allocations: 10.88 kB / 1.19 GB, free: 13.17 MB / 0.9044 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.0001382/1.109, allocations: 137.7 kB / 1.19 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.454e-05/1.109, allocations: 16.16 kB / 1.19 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/1.111, allocations: 380.6 kB / 1.191 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/1.111, allocations: 2.312 kB / 1.191 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/1.111, allocations: 0 / 1.191 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/1.111, allocations: 5.109 kB / 1.191 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002963/1.111, allocations: 273.3 kB / 1.191 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/1.111, allocations: 1.188 kB / 1.191 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/1.111, allocations: 27.83 kB / 1.191 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007928/1.112, allocations: 140 kB / 1.191 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/1.112, allocations: 5.531 kB / 1.191 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003613/1.116, allocations: 3.301 MB / 1.194 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/1.116, allocations: 8.047 kB / 1.194 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/1.117, allocations: 431.1 kB / 1.195 GB, free: 8.914 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/1.117, allocations: 110.3 kB / 1.195 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.484e-05/1.117, allocations: 9.75 kB / 1.195 GB, free: 8.789 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002703/1.117, allocations: 15.33 kB / 1.195 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.469e-05/1.118, allocations: 25.03 kB / 1.195 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/1.118, allocations: 3.594 kB / 1.195 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001805/1.118, allocations: 161.4 kB / 1.195 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.4e-07/1.118, allocations: 0 / 1.195 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004271/1.118, allocations: 71.66 kB / 1.195 GB, free: 8.637 MB / 0.9044 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.0001896/1.118, allocations: 118.4 kB / 1.195 GB, free: 8.539 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009765/1.119, allocations: 440.8 kB / 1.196 GB, free: 8.211 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/1.119, allocations: 3.938 kB / 1.196 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006272/1.12, allocations: 361.1 kB / 1.196 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/1.12, allocations: 51.28 kB / 1.196 GB, free: 7.883 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009215/1.121, allocations: 428.5 kB / 1.197 GB, free: 7.602 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/1.122, allocations: 0.7322 MB / 1.197 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001557/1.122, allocations: 42.47 kB / 1.197 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.423e-05/1.122, allocations: 21.44 kB / 1.197 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/1.122, allocations: 1.125 kB / 1.197 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of Templates: time 0.009153/1.131, allocations: 5.297 MB / 1.203 GB, free: 4.164 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches