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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001198/0.001198, allocations: 103.6 kB / 16.27 MB, free: 6.414 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.00108/0.00108, allocations: 189.4 kB / 17.2 MB, free: 5.953 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.387/1.387, allocations: 222.9 MB / 240.9 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.628/2.628, allocations: 437 MB / 0.711 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 65.11 kB / 0.8699 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3142, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003917/0.3182, allocations: 1.916 MB / 1.02 GB, free: 8.73 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7526/1.071, allocations: 155.4 MB / 1.172 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/1.071, allocations: 2.344 kB / 1.172 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002127/1.071, allocations: 25.48 kB / 1.172 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003568/1.072, allocations: 76.56 kB / 1.172 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008168/1.073, allocations: 256.2 kB / 1.172 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003789/1.073, allocations: 265.5 kB / 1.172 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/1.073, allocations: 74.44 kB / 1.172 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001306/1.074, allocations: 241.2 kB / 1.172 GB, free: 15 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/1.075, allocations: 98.67 kB / 1.173 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.623e-05/1.075, allocations: 14.47 kB / 1.173 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004369/1.075, allocations: 185.9 kB / 1.173 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.673e-05/1.075, allocations: 39.03 kB / 1.173 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001224/1.075, allocations: 94.66 kB / 1.173 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0005113/1.076, allocations: 283.4 kB / 1.173 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/1.076, allocations: 0 / 1.173 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.253e-06/1.076, allocations: 3.938 kB / 1.173 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.267e-06/1.076, allocations: 1.125 kB / 1.173 GB, free: 14.72 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.001031/1.077, allocations: 0.5215 MB / 1.174 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/1.077, allocations: 14.03 kB / 1.174 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009051/1.078, allocations: 79.53 kB / 1.174 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/1.078, allocations: 229 kB / 1.174 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.047e-05/1.078, allocations: 42.39 kB / 1.174 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/1.078, allocations: 22.95 kB / 1.174 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005471/1.079, allocations: 256.1 kB / 1.174 GB, free: 13.83 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/1.079, allocations: 5.125 kB / 1.174 GB, free: 13.83 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.56e-05/1.079, allocations: 10 kB / 1.174 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/1.079, allocations: 4.469 kB / 1.174 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004925/1.08, allocations: 165.4 kB / 1.174 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001749/1.081, allocations: 1.182 MB / 1.176 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007912/1.082, allocations: 203.5 kB / 1.176 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/1.082, allocations: 73.48 kB / 1.176 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/1.082, allocations: 4.844 kB / 1.176 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.497e-05/1.082, allocations: 43.72 kB / 1.176 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=12): time 1.853e-06/1.082, allocations: 0 / 1.176 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of matching and sorting (n=12): time 0.00286/1.085, allocations: 0.6267 MB / 1.177 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/1.085, allocations: 52.75 kB / 1.177 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/1.086, allocations: 212.8 kB / 1.177 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/1.086, allocations: 31 kB / 1.177 GB, free: 11.94 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/1.086, allocations: 139.5 kB / 1.177 GB, free: 11.81 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/1.086, allocations: 49.72 kB / 1.177 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.348e-05/1.086, allocations: 45.47 kB / 1.177 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001251/1.086, allocations: 334.2 kB / 1.177 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/1.086, allocations: 62.98 kB / 1.177 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/1.087, allocations: 133.5 kB / 1.178 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004503/1.087, allocations: 199 kB / 1.178 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.087, allocations: 1.156 kB / 1.178 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001557/1.089, allocations: 375 kB / 1.178 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/1.089, allocations: 6.969 kB / 1.178 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/1.089, allocations: 1.781 kB / 1.178 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/1.09, allocations: 168.9 kB / 1.178 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/1.09, allocations: 34.41 kB / 1.178 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004198/1.094, allocations: 3.266 MB / 1.182 GB, free: 7.605 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003818/1.095, allocations: 34.52 kB / 1.182 GB, free: 7.586 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/1.095, allocations: 10.83 kB / 1.182 GB, free: 7.582 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.0001516/1.095, allocations: 142 kB / 1.182 GB, free: 7.441 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.509e-05/1.095, allocations: 17 kB / 1.182 GB, free: 7.434 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/1.096, allocations: 373.7 kB / 1.182 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/1.096, allocations: 6.078 kB / 1.182 GB, free: 7.199 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/1.096, allocations: 1.062 kB / 1.182 GB, free: 7.199 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.096, allocations: 3.938 kB / 1.182 GB, free: 7.195 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/1.097, allocations: 274.8 kB / 1.182 GB, free: 6.922 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.097, allocations: 0 / 1.182 GB, free: 6.922 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/1.097, allocations: 28.47 kB / 1.182 GB, free: 6.91 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008612/1.098, allocations: 147.3 kB / 1.182 GB, free: 6.828 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/1.098, allocations: 5.125 kB / 1.182 GB, free: 6.824 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003751/1.102, allocations: 3.301 MB / 1.186 GB, free: 3.617 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.102, allocations: 0 / 1.186 GB, free: 3.617 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/1.103, allocations: 437.2 kB / 1.186 GB, free: 3.316 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/1.103, allocations: 114.4 kB / 1.186 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/1.103, allocations: 5.312 kB / 1.186 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000302/1.103, allocations: 16.23 kB / 1.186 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.246e-05/1.104, allocations: 18.84 kB / 1.186 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/1.104, allocations: 4.125 kB / 1.186 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001941/1.104, allocations: 165.8 kB / 1.186 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.31e-07/1.104, allocations: 0 / 1.186 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004396/1.104, allocations: 71.06 kB / 1.187 GB, free: 3.039 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.0001829/1.104, allocations: 112 kB / 1.187 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001118/1.106, allocations: 451.4 kB / 1.187 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.106, allocations: 0 / 1.187 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006965/1.106, allocations: 363.4 kB / 1.187 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/1.107, allocations: 60.48 kB / 1.187 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/1.108, allocations: 450 kB / 1.188 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/1.108, allocations: 0.7322 MB / 1.189 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.032e-05/1.108, allocations: 27.92 kB / 1.189 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of SimCode: time 3.81e-07/1.108, allocations: 0 / 1.189 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of Templates: time 0.007234/1.115, allocations: 4.404 MB / 1.193 GB, free: 14.92 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 -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