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.001616/0.001616, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.001562/0.001562, allocations: 161.3 kB / 23.55 MB, free: 0.8672 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.472/1.472, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.86/2.86, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.067e-05/3.187e-05, allocations: 3.594 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003424/0.003456, allocations: 1.871 MB / 0.8126 GB, free: 240 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.2018/0.2053, allocations: 136.7 MB / 0.9461 GB, free: 7.055 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002037/0.2055, allocations: 0 / 0.9461 GB, free: 7.055 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.2057, allocations: 31.72 kB / 0.9462 GB, free: 7.023 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0004349/0.2062, allocations: 79.36 kB / 0.9462 GB, free: 6.945 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008678/0.2071, allocations: 270.9 kB / 0.9465 GB, free: 6.68 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.000423/0.2075, allocations: 271.1 kB / 0.9468 GB, free: 6.414 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.2076, allocations: 46.61 kB / 0.9468 GB, free: 6.371 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001871/0.2095, allocations: 353.7 kB / 0.9471 GB, free: 6.098 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.2097, allocations: 71.78 kB / 0.9472 GB, free: 6.027 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 6.483e-05/0.2098, allocations: 16 kB / 0.9472 GB, free: 6.012 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004235/0.2102, allocations: 183.6 kB / 0.9474 GB, free: 5.832 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 8.08e-05/0.2103, allocations: 43.83 kB / 0.9474 GB, free: 5.789 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.2104, allocations: 67.81 kB / 0.9475 GB, free: 5.723 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0006234/0.211, allocations: 315 kB / 0.9478 GB, free: 5.414 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.211, allocations: 4 kB / 0.9478 GB, free: 5.41 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.233e-06/0.211, allocations: 0 / 0.9478 GB, free: 5.41 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.211, allocations: 0 / 0.9478 GB, free: 5.41 MB / 0.9011 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.001112/0.2121, allocations: 469.2 kB / 0.9483 GB, free: 4.922 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.2122, allocations: 12.03 kB / 0.9483 GB, free: 4.91 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/0.2135, allocations: 147.4 kB / 0.9484 GB, free: 4.766 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.2138, allocations: 172.8 kB / 0.9486 GB, free: 4.57 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.2139, allocations: 63.73 kB / 0.9486 GB, free: 4.496 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.544e-05/0.214, allocations: 23.94 kB / 0.9487 GB, free: 4.473 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006658/0.2146, allocations: 314 kB / 0.949 GB, free: 4.125 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.2147, allocations: 3.938 kB / 0.949 GB, free: 4.121 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.993e-05/0.2147, allocations: 8 kB / 0.949 GB, free: 4.113 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.2147, allocations: 4 kB / 0.949 GB, free: 4.109 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005119/0.2152, allocations: 168.6 kB / 0.9491 GB, free: 3.945 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002/0.2172, allocations: 1.083 MB / 0.9502 GB, free: 2.805 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008434/0.2181, allocations: 202.6 kB / 0.9504 GB, free: 2.598 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.2182, allocations: 68.81 kB / 0.9504 GB, free: 2.527 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.2183, allocations: 0 / 0.9504 GB, free: 2.527 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.2183, allocations: 42.55 kB / 0.9505 GB, free: 2.477 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=12): time 8.62e-07/0.2183, allocations: 0 / 0.9505 GB, free: 2.477 MB / 0.9011 GB Notification: Performance of matching and sorting (n=12): time 0.002934/0.2212, allocations: 490.6 kB / 0.951 GB, free: 1.984 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.2213, allocations: 59.41 kB / 0.951 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.2216, allocations: 178.9 kB / 0.9512 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.2216, allocations: 33.7 kB / 0.9512 GB, free: 1.691 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.2217, allocations: 144.1 kB / 0.9514 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.238e-05/0.2218, allocations: 43.64 kB / 0.9514 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.2219, allocations: 45.64 kB / 0.9514 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.2221, allocations: 322.8 kB / 0.9517 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.2223, allocations: 75.88 kB / 0.9518 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003309/0.2226, allocations: 158.1 kB / 0.952 GB, free: 0.8633 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/0.2231, allocations: 194.7 kB / 0.9522 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.2231, allocations: 4 kB / 0.9522 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001781/0.2249, allocations: 384.8 kB / 0.9525 GB, free: 264 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.2249, allocations: 4 kB / 0.9525 GB, free: 260 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.2249, allocations: 4.219 kB / 0.9525 GB, free: 256 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001899/0.2268, allocations: 257.5 kB / 0.9528 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.227, allocations: 35.91 kB / 0.9528 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004687/0.2317, allocations: 2.994 MB / 0.9557 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003649/0.2321, allocations: 39.92 kB / 0.9558 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.2321, allocations: 8 kB / 0.9558 GB, free: 12.7 MB / 0.9167 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.0004011/0.2325, allocations: 129.8 kB / 0.9559 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.286e-05/0.2326, allocations: 16.19 kB / 0.9559 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.2341, allocations: 370.8 kB / 0.9563 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.2341, allocations: 3.984 kB / 0.9563 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.2341, allocations: 7.875 kB / 0.9563 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2341, allocations: 0 / 0.9563 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003502/0.2344, allocations: 197.1 kB / 0.9565 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.2344, allocations: 3.984 kB / 0.9565 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.2346, allocations: 23.98 kB / 0.9565 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001527/0.2361, allocations: 225.5 kB / 0.9567 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.2361, allocations: 0 / 0.9567 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004485/0.2406, allocations: 3.057 MB / 0.9597 GB, free: 8.414 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.2406, allocations: 3.984 kB / 0.9597 GB, free: 8.41 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.2421, allocations: 424.8 kB / 0.9601 GB, free: 7.973 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.2422, allocations: 31.83 kB / 0.9601 GB, free: 7.941 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.2422, allocations: 7.984 kB / 0.9602 GB, free: 7.934 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/0.2425, allocations: 15.98 kB / 0.9602 GB, free: 7.918 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.07e-05/0.2426, allocations: 23.91 kB / 0.9602 GB, free: 7.895 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.2426, allocations: 8 kB / 0.9602 GB, free: 7.887 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001874/0.2428, allocations: 131.2 kB / 0.9603 GB, free: 7.758 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.2428, allocations: 0 / 0.9603 GB, free: 7.758 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004715/0.2433, allocations: 75.89 kB / 0.9604 GB, free: 7.684 MB / 0.9167 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.0002249/0.2435, allocations: 119.1 kB / 0.9605 GB, free: 7.559 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0012/0.2447, allocations: 444.1 kB / 0.9609 GB, free: 7.102 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2447, allocations: 4 kB / 0.9609 GB, free: 7.098 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007896/0.2455, allocations: 345 kB / 0.9613 GB, free: 6.734 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/0.246, allocations: 61.75 kB / 0.9613 GB, free: 6.676 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.2472, allocations: 426.4 kB / 0.9617 GB, free: 6.23 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001736/0.2473, allocations: 120.6 kB / 0.9618 GB, free: 6.094 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001729/0.2475, allocations: 37.45 kB / 0.9619 GB, free: 6.059 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.702e-05/0.2476, allocations: 20.48 kB / 0.9619 GB, free: 6.039 MB / 0.9167 GB Notification: Performance of SimCode: time 1.122e-06/0.2476, allocations: 0 / 0.9619 GB, free: 6.039 MB / 0.9167 GB Notification: Performance of Templates: time 0.01153/0.2591, allocations: 4.91 MB / 0.9667 GB, free: 1.219 MB / 0.9167 GB " [Timeout remaining time 300] 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/jenkins/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: 8.132919898023829]