Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00178/0.00178, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 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.001933/0.001933, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.542/1.542, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.857/2.857, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.7864 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.632e-05, allocations: 3.312 kB / 0.7864 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00399/0.004016, allocations: 1.907 MB / 0.7882 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.2097/0.2137, allocations: 151.2 MB / 0.9358 GB, free: 3.129 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001872/0.2139, allocations: 0 / 0.9358 GB, free: 3.129 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.2141, allocations: 27.73 kB / 0.9359 GB, free: 3.102 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0004251/0.2145, allocations: 87.28 kB / 0.936 GB, free: 3.016 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.2155, allocations: 263 kB / 0.9362 GB, free: 2.758 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0004831/0.216, allocations: 267 kB / 0.9365 GB, free: 2.496 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.2162, allocations: 50.59 kB / 0.9365 GB, free: 2.449 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002653/0.2189, allocations: 374.5 kB / 0.9369 GB, free: 2.156 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.2191, allocations: 75.77 kB / 0.9369 GB, free: 2.082 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 6.413e-05/0.2192, allocations: 16 kB / 0.937 GB, free: 2.066 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005437/0.2197, allocations: 171.7 kB / 0.9371 GB, free: 1.898 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.2198, allocations: 47.81 kB / 0.9372 GB, free: 1.852 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.22, allocations: 71.81 kB / 0.9372 GB, free: 1.781 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0007574/0.2207, allocations: 311 kB / 0.9375 GB, free: 1.477 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.2207, allocations: 8 kB / 0.9375 GB, free: 1.469 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2207, allocations: 4 kB / 0.9375 GB, free: 1.465 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.2207, allocations: 0 / 0.9375 GB, free: 1.465 MB / 0.8855 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.001456/0.2222, allocations: 0.5539 MB / 0.9381 GB, free: 0.875 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.2222, allocations: 12.03 kB / 0.9381 GB, free: 0.8633 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00186/0.2241, allocations: 147.4 kB / 0.9382 GB, free: 0.7188 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004252/0.2245, allocations: 175.7 kB / 0.9384 GB, free: 0.5195 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/0.2247, allocations: 63.72 kB / 0.9385 GB, free: 456 kB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.963e-05/0.2247, allocations: 23.88 kB / 0.9385 GB, free: 432 kB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008586/0.2256, allocations: 324.7 kB / 0.9388 GB, free: 56 kB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.2256, allocations: 3.938 kB / 0.9388 GB, free: 52 kB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/0.2256, allocations: 8 kB / 0.9388 GB, free: 44 kB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.2256, allocations: 8 kB / 0.9388 GB, free: 36 kB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006666/0.2263, allocations: 151.8 kB / 0.939 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002877/0.2292, allocations: 1.445 MB / 0.9404 GB, free: 14.37 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.2304, allocations: 199.2 kB / 0.9406 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/0.2306, allocations: 59.66 kB / 0.9406 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.029e-05/0.2307, allocations: 4 kB / 0.9406 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.2307, allocations: 37.39 kB / 0.9407 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=12): time 1.944e-06/0.2307, allocations: 4 kB / 0.9407 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of matching and sorting (n=12): time 0.003891/0.2346, allocations: 472.3 kB / 0.9411 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/0.2347, allocations: 51.41 kB / 0.9412 GB, free: 13.51 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004451/0.2351, allocations: 257.8 kB / 0.9414 GB, free: 13.24 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.062e-05/0.2352, allocations: 25.7 kB / 0.9414 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.2354, allocations: 190.9 kB / 0.9416 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.108e-05/0.2354, allocations: 43.64 kB / 0.9417 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.2356, allocations: 55.3 kB / 0.9417 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0003761/0.236, allocations: 0.5001 MB / 0.9422 GB, free: 12.4 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002829/0.2363, allocations: 55.91 kB / 0.9422 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004295/0.2367, allocations: 181.3 kB / 0.9424 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006421/0.2373, allocations: 213.1 kB / 0.9426 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.2373, allocations: 8.031 kB / 0.9426 GB, free: 11.88 MB / 0.9011 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00225/0.2396, allocations: 350.8 kB / 0.943 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/0.2396, allocations: 8 kB / 0.943 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.2396, allocations: 0 / 0.943 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002697/0.2423, allocations: 255.3 kB / 0.9432 GB, free: 11.26 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.2426, allocations: 39.91 kB / 0.9433 GB, free: 11.22 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007409/0.2501, allocations: 3.965 MB / 0.9471 GB, free: 6.996 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004474/0.2505, allocations: 23.89 kB / 0.9471 GB, free: 6.973 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.891e-05/0.2505, allocations: 12.02 kB / 0.9472 GB, free: 6.961 MB / 0.9011 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.0002565/0.2508, allocations: 172.6 kB / 0.9473 GB, free: 6.781 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.2509, allocations: 23.91 kB / 0.9473 GB, free: 6.758 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002037/0.253, allocations: 356 kB / 0.9477 GB, free: 6.398 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.253, allocations: 4 kB / 0.9477 GB, free: 6.395 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.253, allocations: 3.938 kB / 0.9477 GB, free: 6.391 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.253, allocations: 3.984 kB / 0.9477 GB, free: 6.387 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005088/0.2535, allocations: 200.5 kB / 0.9479 GB, free: 6.156 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.2535, allocations: 0 / 0.9479 GB, free: 6.156 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.2537, allocations: 23.98 kB / 0.9479 GB, free: 6.133 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002212/0.2559, allocations: 227.1 kB / 0.9481 GB, free: 5.902 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.2559, allocations: 4 kB / 0.9481 GB, free: 5.898 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006776/0.2627, allocations: 4.011 MB / 0.9521 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2627, allocations: 0 / 0.9521 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/0.2647, allocations: 470.8 kB / 0.9525 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.2649, allocations: 35.81 kB / 0.9525 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.871e-05/0.2649, allocations: 8 kB / 0.9525 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000341/0.2653, allocations: 7.984 kB / 0.9525 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.2654, allocations: 23.91 kB / 0.9526 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.2654, allocations: 4 kB / 0.9526 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002707/0.2657, allocations: 181.5 kB / 0.9527 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2657, allocations: 0 / 0.9527 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007258/0.2664, allocations: 83.83 kB / 0.9528 GB, free: 0.8086 MB / 0.9011 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.0002378/0.2666, allocations: 119.2 kB / 0.9529 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001233/0.2679, allocations: 0.5451 MB / 0.9535 GB, free: 104 kB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2679, allocations: 0 / 0.9535 GB, free: 104 kB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008775/0.2687, allocations: 471.1 kB / 0.9539 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.2692, allocations: 57.72 kB / 0.954 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.2704, allocations: 423 kB / 0.9544 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.2705, allocations: 124.6 kB / 0.9545 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001647/0.2707, allocations: 29.47 kB / 0.9545 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.533e-05/0.2707, allocations: 24.48 kB / 0.9546 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of SimCode: time 6.51e-07/0.2707, allocations: 0 / 0.9546 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of Templates: time 0.01207/0.2828, allocations: 5.005 MB / 0.9594 GB, free: 9.996 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.304746803943999]