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.00131/0.00131, allocations: 84.59 kB / 19.76 MB, free: 2.023 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.001439/0.001439, allocations: 159.2 kB / 23 MB, free: 4.961 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.467/1.467, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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 2.772/2.772, allocations: 377.9 MB / 0.6228 GB, free: 12.55 MB / 0.5919 GB " [Timeout remaining time 177] 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.002242/0.002242, allocations: 67.89 kB / 0.9819 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8234/0.8256, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002469/0.8281, allocations: 1.865 MB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1717/0.9999, allocations: 136.7 MB / 1.289 GB, free: 3.961 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001807/1, allocations: 6.219 kB / 1.289 GB, free: 3.957 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0002102/1, allocations: 29.98 kB / 1.289 GB, free: 3.934 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003507/1.001, allocations: 68.44 kB / 1.289 GB, free: 3.891 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008146/1.001, allocations: 272.6 kB / 1.29 GB, free: 3.75 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0003297/1.002, allocations: 268.6 kB / 1.29 GB, free: 3.625 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/1.002, allocations: 45.81 kB / 1.29 GB, free: 3.605 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/1.003, allocations: 247 kB / 1.29 GB, free: 3.527 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/1.004, allocations: 85.89 kB / 1.29 GB, free: 3.492 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/1.004, allocations: 19.09 kB / 1.29 GB, free: 3.488 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003822/1.004, allocations: 183.7 kB / 1.29 GB, free: 3.441 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 8.27e-05/1.004, allocations: 44.81 kB / 1.29 GB, free: 3.414 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/1.004, allocations: 79.44 kB / 1.291 GB, free: 3.375 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0004833/1.005, allocations: 302 kB / 1.291 GB, free: 3.262 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/1.005, allocations: 0 / 1.291 GB, free: 3.262 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.553e-06/1.005, allocations: 0 / 1.291 GB, free: 3.262 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.182e-06/1.005, allocations: 0 / 1.291 GB, free: 3.262 MB / 1.139 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.0009863/1.006, allocations: 471.1 kB / 1.291 GB, free: 2.895 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/1.006, allocations: 9.25 kB / 1.291 GB, free: 2.895 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/1.007, allocations: 113.5 kB / 1.291 GB, free: 2.879 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/1.007, allocations: 170.1 kB / 1.292 GB, free: 2.719 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.701e-05/1.007, allocations: 68.2 kB / 1.292 GB, free: 2.648 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/1.007, allocations: 15.06 kB / 1.292 GB, free: 2.645 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005961/1.008, allocations: 313.5 kB / 1.292 GB, free: 2.43 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/1.008, allocations: 1.125 kB / 1.292 GB, free: 2.43 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/1.008, allocations: 10.66 kB / 1.292 GB, free: 2.422 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/1.008, allocations: 4.375 kB / 1.292 GB, free: 2.422 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004744/1.008, allocations: 172.6 kB / 1.292 GB, free: 2.367 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/1.01, allocations: 1.064 MB / 1.293 GB, free: 1.465 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007804/1.011, allocations: 199.7 kB / 1.293 GB, free: 1.395 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/1.011, allocations: 67.14 kB / 1.293 GB, free: 1.367 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/1.011, allocations: 2.281 kB / 1.293 GB, free: 1.367 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/1.011, allocations: 36.44 kB / 1.293 GB, free: 1.324 MB / 1.139 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/1.011, allocations: 5.219 kB / 1.293 GB, free: 1.32 MB / 1.139 GB Notification: Performance of matching and sorting (n=12): time 0.002698/1.014, allocations: 485.5 kB / 1.294 GB, free: 1.18 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/1.014, allocations: 53.19 kB / 1.294 GB, free: 1.117 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/1.014, allocations: 189.4 kB / 1.294 GB, free: 0.9805 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/1.014, allocations: 26.8 kB / 1.294 GB, free: 0.9492 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/1.014, allocations: 144.5 kB / 1.294 GB, free: 0.8203 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/1.014, allocations: 44.69 kB / 1.294 GB, free: 0.7852 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.395e-05/1.014, allocations: 46.41 kB / 1.294 GB, free: 0.7578 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.015, allocations: 335.1 kB / 1.295 GB, free: 440 kB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/1.015, allocations: 69.88 kB / 1.295 GB, free: 420 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/1.015, allocations: 159.2 kB / 1.295 GB, free: 288 kB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004566/1.015, allocations: 200.7 kB / 1.295 GB, free: 164 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.015, allocations: 0 / 1.295 GB, free: 164 kB / 1.139 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001497/1.017, allocations: 378.4 kB / 1.295 GB, free: 16 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/1.017, allocations: 6.719 kB / 1.295 GB, free: 16 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/1.017, allocations: 1.188 kB / 1.295 GB, free: 16 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/1.018, allocations: 166.9 kB / 1.296 GB, free: 15.97 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/1.018, allocations: 43.22 kB / 1.296 GB, free: 15.96 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004048/1.022, allocations: 2.982 MB / 1.299 GB, free: 13.28 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003342/1.023, allocations: 36.69 kB / 1.299 GB, free: 13.26 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/1.023, allocations: 9.484 kB / 1.299 GB, free: 13.26 MB / 1.154 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.0001365/1.023, allocations: 131.8 kB / 1.299 GB, free: 13.13 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.237e-05/1.023, allocations: 15.38 kB / 1.299 GB, free: 13.12 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/1.024, allocations: 372.3 kB / 1.299 GB, free: 12.97 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/1.024, allocations: 7.438 kB / 1.299 GB, free: 12.96 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/1.024, allocations: 0 / 1.299 GB, free: 12.96 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.024, allocations: 0.8438 kB / 1.299 GB, free: 12.96 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/1.025, allocations: 187.2 kB / 1.299 GB, free: 12.81 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.025, allocations: 0 / 1.299 GB, free: 12.81 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/1.025, allocations: 32.59 kB / 1.299 GB, free: 12.8 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008259/1.026, allocations: 141.6 kB / 1.299 GB, free: 12.76 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/1.026, allocations: 5.875 kB / 1.299 GB, free: 12.76 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003828/1.029, allocations: 3.038 MB / 1.302 GB, free: 10.04 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.029, allocations: 3.938 kB / 1.302 GB, free: 10.03 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/1.031, allocations: 424.1 kB / 1.303 GB, free: 9.805 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 8.571e-05/1.031, allocations: 35.58 kB / 1.303 GB, free: 9.785 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/1.031, allocations: 5.891 kB / 1.303 GB, free: 9.781 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002952/1.031, allocations: 16.3 kB / 1.303 GB, free: 9.777 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.791e-05/1.031, allocations: 15.02 kB / 1.303 GB, free: 9.777 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/1.031, allocations: 8.688 kB / 1.303 GB, free: 9.773 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001656/1.031, allocations: 130.5 kB / 1.303 GB, free: 9.688 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/1.031, allocations: 5.062 kB / 1.303 GB, free: 9.684 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004231/1.032, allocations: 82.66 kB / 1.303 GB, free: 9.66 MB / 1.154 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.0001842/1.032, allocations: 122.6 kB / 1.303 GB, free: 9.551 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001063/1.033, allocations: 442.9 kB / 1.304 GB, free: 9.219 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.033, allocations: 1.469 kB / 1.304 GB, free: 9.219 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0006994/1.034, allocations: 355.2 kB / 1.304 GB, free: 8.922 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/1.034, allocations: 42.62 kB / 1.304 GB, free: 8.898 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009618/1.035, allocations: 422.5 kB / 1.304 GB, free: 8.621 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/1.035, allocations: 129.8 kB / 1.305 GB, free: 8.512 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001569/1.035, allocations: 38.97 kB / 1.305 GB, free: 8.488 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.301e-05/1.035, allocations: 21.38 kB / 1.305 GB, free: 8.477 MB / 1.154 GB Notification: Performance of SimCode: time 3.11e-07/1.035, allocations: 0 / 1.305 GB, free: 8.477 MB / 1.154 GB Notification: Performance of Templates: time 0.01068/1.046, allocations: 4.871 MB / 1.309 GB, free: 5.977 MB / 1.154 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 -s ida -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: 9.129419937031344]