Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 216.1 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.253/3.253, allocations: 0.49 GB / 0.7958 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 67.42 kB / 1.155 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3847, allocations: 176.1 MB / 1.327 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003395/0.3881, allocations: 1.958 MB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1982/0.5863, allocations: 158.9 MB / 1.484 GB, free: 56 kB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002254/0.5865, allocations: 4 kB / 1.484 GB, free: 52 kB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.5867, allocations: 31.66 kB / 1.484 GB, free: 20 kB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0004504/0.5872, allocations: 75.53 kB / 1.484 GB, free: 15.94 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008869/0.588, allocations: 263.1 kB / 1.485 GB, free: 15.68 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0003614/0.5884, allocations: 263 kB / 1.485 GB, free: 15.43 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.5886, allocations: 54.53 kB / 1.485 GB, free: 15.38 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001564/0.5902, allocations: 255.6 kB / 1.485 GB, free: 15.15 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.5903, allocations: 99.53 kB / 1.485 GB, free: 15.05 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.745e-05/0.5904, allocations: 12 kB / 1.485 GB, free: 15.04 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000442/0.5908, allocations: 191.7 kB / 1.485 GB, free: 14.85 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 7.414e-05/0.5909, allocations: 47.89 kB / 1.485 GB, free: 14.8 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.591, allocations: 95.52 kB / 1.485 GB, free: 14.71 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0005272/0.5915, allocations: 294.8 kB / 1.486 GB, free: 14.42 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5915, allocations: 0 / 1.486 GB, free: 14.42 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.863e-06/0.5915, allocations: 0 / 1.486 GB, free: 14.42 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.5916, allocations: 0 / 1.486 GB, free: 14.42 MB / 1.186 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.001078/0.5926, allocations: 469.2 kB / 1.486 GB, free: 13.93 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.5927, allocations: 12.03 kB / 1.486 GB, free: 13.92 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.5939, allocations: 111.7 kB / 1.486 GB, free: 13.81 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.5942, allocations: 174.1 kB / 1.487 GB, free: 13.62 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.5943, allocations: 63.73 kB / 1.487 GB, free: 13.54 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.85e-05/0.5943, allocations: 20 kB / 1.487 GB, free: 13.52 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005774/0.5949, allocations: 254.6 kB / 1.487 GB, free: 13.25 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.5949, allocations: 4 kB / 1.487 GB, free: 13.24 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.595, allocations: 8 kB / 1.487 GB, free: 13.23 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.595, allocations: 4 kB / 1.487 GB, free: 13.23 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000462/0.5954, allocations: 172.3 kB / 1.487 GB, free: 13.06 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.5973, allocations: 1.148 MB / 1.488 GB, free: 11.84 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007574/0.5981, allocations: 198.6 kB / 1.488 GB, free: 11.64 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.5983, allocations: 68.81 kB / 1.488 GB, free: 11.57 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.5983, allocations: 0 / 1.488 GB, free: 11.57 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.5983, allocations: 30.56 kB / 1.488 GB, free: 11.53 MB / 1.186 GB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.5983, allocations: 0 / 1.488 GB, free: 11.53 MB / 1.186 GB Notification: Performance of matching and sorting (n=12): time 0.002704/0.601, allocations: 0.4947 MB / 1.489 GB, free: 11.02 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.6011, allocations: 55.41 kB / 1.489 GB, free: 10.96 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.6014, allocations: 218.7 kB / 1.489 GB, free: 10.73 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.6014, allocations: 29.7 kB / 1.489 GB, free: 10.7 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.6015, allocations: 136.2 kB / 1.489 GB, free: 10.56 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/0.6016, allocations: 43.64 kB / 1.489 GB, free: 10.52 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.857e-05/0.6017, allocations: 53.64 kB / 1.489 GB, free: 10.46 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.6018, allocations: 334.7 kB / 1.49 GB, free: 10.12 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.6021, allocations: 71.94 kB / 1.49 GB, free: 10.05 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.6023, allocations: 133.3 kB / 1.49 GB, free: 9.895 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004307/0.6028, allocations: 204.7 kB / 1.49 GB, free: 9.672 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.6028, allocations: 0 / 1.49 GB, free: 9.672 MB / 1.186 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001497/0.6043, allocations: 374.8 kB / 1.49 GB, free: 9.293 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.6043, allocations: 8 kB / 1.49 GB, free: 9.285 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.6043, allocations: 0 / 1.49 GB, free: 9.285 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/0.6054, allocations: 161.8 kB / 1.491 GB, free: 9.121 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.6056, allocations: 39.91 kB / 1.491 GB, free: 9.082 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00459/0.6102, allocations: 3.042 MB / 1.494 GB, free: 5.805 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003768/0.6105, allocations: 39.73 kB / 1.494 GB, free: 5.766 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.6106, allocations: 8 kB / 1.494 GB, free: 5.758 MB / 1.186 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.0001778/0.6107, allocations: 141.8 kB / 1.494 GB, free: 5.609 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.635e-05/0.6108, allocations: 15.91 kB / 1.494 GB, free: 5.594 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/0.6122, allocations: 366.4 kB / 1.494 GB, free: 5.219 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.6122, allocations: 11.98 kB / 1.494 GB, free: 5.207 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.6122, allocations: 3.938 kB / 1.494 GB, free: 5.203 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.6122, allocations: 0 / 1.494 GB, free: 5.203 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.6126, allocations: 252.4 kB / 1.494 GB, free: 4.914 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.6126, allocations: 0 / 1.494 GB, free: 4.914 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.6127, allocations: 27.97 kB / 1.494 GB, free: 4.887 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008522/0.6136, allocations: 137.6 kB / 1.495 GB, free: 4.746 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.6136, allocations: 4 kB / 1.495 GB, free: 4.742 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003948/0.6175, allocations: 3.102 MB / 1.498 GB, free: 1.398 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.6175, allocations: 0 / 1.498 GB, free: 1.398 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.6189, allocations: 428.8 kB / 1.498 GB, free: 0.957 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.619, allocations: 39.75 kB / 1.498 GB, free: 0.918 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.619, allocations: 4 kB / 1.498 GB, free: 0.9141 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.6193, allocations: 11.98 kB / 1.498 GB, free: 0.9023 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.195e-05/0.6194, allocations: 23.97 kB / 1.498 GB, free: 0.8789 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.6194, allocations: 11.98 kB / 1.498 GB, free: 0.8672 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001961/0.6196, allocations: 155.2 kB / 1.498 GB, free: 0.7148 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6196, allocations: 0 / 1.498 GB, free: 0.7148 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004468/0.62, allocations: 75.89 kB / 1.498 GB, free: 0.6406 MB / 1.186 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.0002076/0.6202, allocations: 119.2 kB / 1.498 GB, free: 0.5117 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001153/0.6214, allocations: 433.8 kB / 1.499 GB, free: 64 kB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.6214, allocations: 0 / 1.499 GB, free: 64 kB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0007217/0.6221, allocations: 364 kB / 1.499 GB, free: 15.68 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.6226, allocations: 65.06 kB / 1.499 GB, free: 15.62 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.6236, allocations: 458.1 kB / 1.5 GB, free: 15.14 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004781/0.6241, allocations: 0.74 MB / 1.5 GB, free: 14.38 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.266e-05/0.6242, allocations: 23.42 kB / 1.5 GB, free: 14.36 MB / 1.201 GB Notification: Performance of SimCode: time 3.1e-07/0.6242, allocations: 0 / 1.5 GB, free: 14.36 MB / 1.201 GB Notification: Performance of Templates: time 0.007963/0.6322, allocations: 4.429 MB / 1.505 GB, free: 9.934 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.438835295004537]