Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001166/0.001166, allocations: 111.5 kB / 16.37 MB, free: 6.012 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.001148/0.001149, allocations: 191.9 kB / 17.3 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.193/1.193, 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 10.1.0-maint.10.0.x/package.mo): time 2.175/2.175, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 65.53 kB / 0.8707 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2635, allocations: 151.6 MB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003106/0.2667, allocations: 1.923 MB / 1.021 GB, free: 7.941 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.594/0.8607, allocations: 155.4 MB / 1.172 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.8609, allocations: 2.031 kB / 1.172 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.8611, allocations: 29.44 kB / 1.172 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003328/0.8615, allocations: 67.05 kB / 1.173 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00072/0.8622, allocations: 265.1 kB / 1.173 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003437/0.8626, allocations: 266.8 kB / 1.173 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.8628, allocations: 76.81 kB / 1.173 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.864, allocations: 235 kB / 1.173 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.8641, allocations: 92.94 kB / 1.173 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.532e-05/0.8642, allocations: 19.28 kB / 1.173 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003719/0.8646, allocations: 179.3 kB / 1.174 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.193e-05/0.8646, allocations: 44.95 kB / 1.174 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.8648, allocations: 90.55 kB / 1.174 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004626/0.8652, allocations: 292.9 kB / 1.174 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.8652, allocations: 1.094 kB / 1.174 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8652, allocations: 0 / 1.174 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.8653, allocations: 0 / 1.174 GB, free: 14.7 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.001015/0.8663, allocations: 0.5215 MB / 1.175 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.8663, allocations: 9.844 kB / 1.175 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008368/0.8672, allocations: 89.61 kB / 1.175 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.8675, allocations: 229.4 kB / 1.175 GB, free: 14 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.527e-05/0.8675, allocations: 42.95 kB / 1.175 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.8676, allocations: 19.09 kB / 1.175 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004776/0.8681, allocations: 260.4 kB / 1.175 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.8681, allocations: 1.094 kB / 1.175 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.8681, allocations: 10.88 kB / 1.175 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.8681, allocations: 7.438 kB / 1.175 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000422/0.8686, allocations: 168.5 kB / 1.175 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.8702, allocations: 1.18 MB / 1.176 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006994/0.8709, allocations: 207 kB / 1.177 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.8711, allocations: 71.38 kB / 1.177 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.8711, allocations: 5.484 kB / 1.177 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.8711, allocations: 35.75 kB / 1.177 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.8712, allocations: 1.281 kB / 1.177 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of matching and sorting (n=12): time 0.002513/0.8737, allocations: 0.6302 MB / 1.177 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.8737, allocations: 52.62 kB / 1.177 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.874, allocations: 216.2 kB / 1.178 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.874, allocations: 30.83 kB / 1.178 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.216e-05/0.8741, allocations: 132.2 kB / 1.178 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.8741, allocations: 40.77 kB / 1.178 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.719e-05/0.8742, allocations: 49.3 kB / 1.178 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.8743, allocations: 334.9 kB / 1.178 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.8745, allocations: 68.42 kB / 1.178 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.8748, allocations: 130.1 kB / 1.178 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003917/0.8752, allocations: 204 kB / 1.179 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.8752, allocations: 1.125 kB / 1.179 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001327/0.8765, allocations: 375.2 kB / 1.179 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.8766, allocations: 6.125 kB / 1.179 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.8766, allocations: 1.938 kB / 1.179 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.8776, allocations: 166.4 kB / 1.179 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.8778, allocations: 37.33 kB / 1.179 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003617/0.8814, allocations: 3.255 MB / 1.182 GB, free: 7.445 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000334/0.8818, allocations: 33.48 kB / 1.182 GB, free: 7.426 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.8818, allocations: 14.86 kB / 1.182 GB, free: 7.418 MB / 0.8887 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.0001324/0.8819, allocations: 137 kB / 1.183 GB, free: 7.285 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.363e-05/0.882, allocations: 20.06 kB / 1.183 GB, free: 7.273 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/0.8832, allocations: 379.2 kB / 1.183 GB, free: 7.035 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.8832, allocations: 2.094 kB / 1.183 GB, free: 7.035 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.8833, allocations: 1.062 kB / 1.183 GB, free: 7.035 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.8833, allocations: 0 / 1.183 GB, free: 7.035 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002976/0.8836, allocations: 282.5 kB / 1.183 GB, free: 6.754 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.8836, allocations: 0 / 1.183 GB, free: 6.754 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.8837, allocations: 23.89 kB / 1.183 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000771/0.8845, allocations: 141.3 kB / 1.183 GB, free: 6.672 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.8845, allocations: 4 kB / 1.183 GB, free: 6.668 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003239/0.8878, allocations: 3.297 MB / 1.187 GB, free: 3.465 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.8878, allocations: 5.312 kB / 1.187 GB, free: 3.461 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.8889, allocations: 439.7 kB / 1.187 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.8891, allocations: 111 kB / 1.187 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.8891, allocations: 9.656 kB / 1.187 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.8894, allocations: 10.7 kB / 1.187 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.958e-05/0.8894, allocations: 19.31 kB / 1.187 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.8895, allocations: 12.34 kB / 1.187 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001644/0.8896, allocations: 157.5 kB / 1.187 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8896, allocations: 0 / 1.187 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004012/0.8901, allocations: 70.72 kB / 1.187 GB, free: 2.887 MB / 0.8887 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.0001725/0.8902, allocations: 116.5 kB / 1.187 GB, free: 2.789 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0009349/0.8912, allocations: 455.6 kB / 1.188 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.8912, allocations: 0 / 1.188 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006062/0.8918, allocations: 352.4 kB / 1.188 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.8922, allocations: 61.77 kB / 1.188 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008804/0.8931, allocations: 418.9 kB / 1.189 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.8934, allocations: 0.7322 MB / 1.189 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001477/0.8935, allocations: 41.39 kB / 1.189 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.866e-05/0.8936, allocations: 22.39 kB / 1.189 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of SimCode: time 2.3e-07/0.8936, allocations: 1.156 kB / 1.189 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of Templates: time 0.008352/0.9019, allocations: 5.3 MB / 1.195 GB, free: 14.41 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches