Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002094/0.002094, allocations: 192.6 kB / 22.11 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 225.6 MB / 250.8 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.392/3.392, allocations: 495.8 MB / 0.783 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 74.3 kB / 1.137 GB, free: 33.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3263, allocations: 173.6 MB / 1.307 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02142/0.3477, allocations: 15.23 MB / 1.322 GB, free: 2.602 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01967/0.3673, allocations: 10.66 MB / 1.332 GB, free: 7.914 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00179/0.3691, allocations: 83.25 kB / 1.332 GB, free: 7.832 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.005334/0.3745, allocations: 1.766 MB / 1.334 GB, free: 6.062 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006312/0.3808, allocations: 1.846 MB / 1.336 GB, free: 4.215 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002454/0.3832, allocations: 0.7728 MB / 1.336 GB, free: 3.441 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004864/0.3881, allocations: 2.758 MB / 1.339 GB, free: 0.6758 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002159/0.3903, allocations: 1.009 MB / 1.34 GB, free: 15.63 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003023/0.3933, allocations: 1.559 MB / 1.342 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00268/0.396, allocations: 1.226 MB / 1.343 GB, free: 12.84 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0006832/0.3966, allocations: 167.9 kB / 1.343 GB, free: 12.68 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002245/0.3989, allocations: 0.733 MB / 1.344 GB, free: 11.94 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001111/0.4, allocations: 0.6152 MB / 1.344 GB, free: 11.32 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002037/0.402, allocations: 0.9484 MB / 1.345 GB, free: 10.37 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004986/0.407, allocations: 2.771 MB / 1.348 GB, free: 7.59 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.407, allocations: 0 / 1.348 GB, free: 7.59 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.523e-06/0.407, allocations: 0 / 1.348 GB, free: 7.59 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001074/0.4071, allocations: 0 / 1.348 GB, free: 7.59 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005591/0.4127, allocations: 2.151 MB / 1.35 GB, free: 5.398 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.4128, allocations: 16.03 kB / 1.35 GB, free: 5.383 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01257/0.4253, allocations: 2.113 MB / 1.352 GB, free: 3.266 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003598/0.4289, allocations: 1.232 MB / 1.353 GB, free: 1.984 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.429, allocations: 90.67 kB / 1.353 GB, free: 1.895 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004736/0.4295, allocations: 120.1 kB / 1.353 GB, free: 1.777 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007509/0.437, allocations: 2.675 MB / 1.356 GB, free: 14.95 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-05/0.4371, allocations: 15.88 kB / 1.356 GB, free: 14.94 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000186/0.4373, allocations: 55.98 kB / 1.356 GB, free: 14.88 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007509/0.438, allocations: 194.1 kB / 1.356 GB, free: 14.69 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008831/0.4469, allocations: 2.787 MB / 1.359 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0181/0.465, allocations: 10.33 MB / 1.369 GB, free: 1 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007883/0.4728, allocations: 2.191 MB / 1.371 GB, free: 14.8 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003836/0.4767, allocations: 1.209 MB / 1.372 GB, free: 13.59 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.4768, allocations: 12.94 kB / 1.372 GB, free: 13.57 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/0.4768, allocations: 39.56 kB / 1.373 GB, free: 13.52 MB / 1.076 GB Notification: Performance of pre-optimization done (n=89): time 3.035e-06/0.4768, allocations: 0 / 1.373 GB, free: 13.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=153): time 0.06733/0.5442, allocations: 16 MB / 1.388 GB, free: 13.48 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.058e-05/0.5442, allocations: 68.72 kB / 1.388 GB, free: 13.4 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002075/0.5463, allocations: 1.176 MB / 1.389 GB, free: 12.21 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.000348/0.5467, allocations: 49.7 kB / 1.389 GB, free: 12.16 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007232/0.5474, allocations: 0.7606 MB / 1.39 GB, free: 11.4 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007643/0.5482, allocations: 0.5344 MB / 1.391 GB, free: 10.86 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006394/0.5488, allocations: 295.5 kB / 1.391 GB, free: 10.56 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.5489, allocations: 305.1 kB / 1.391 GB, free: 10.26 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004043/0.553, allocations: 1.507 MB / 1.393 GB, free: 8.754 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004381/0.5574, allocations: 1.788 MB / 1.394 GB, free: 6.871 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008584/0.566, allocations: 3.365 MB / 1.398 GB, free: 3.41 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.566, allocations: 0 / 1.398 GB, free: 3.41 MB / 1.092 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01542/0.5814, allocations: 5.215 MB / 1.403 GB, free: 14.16 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/0.5814, allocations: 8 kB / 1.403 GB, free: 14.15 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.5814, allocations: 4 kB / 1.403 GB, free: 14.14 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007748/0.5892, allocations: 1.879 MB / 1.405 GB, free: 12.24 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002249/0.5914, allocations: 419.2 kB / 1.405 GB, free: 11.83 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0343/0.6257, allocations: 23.33 MB / 1.428 GB, free: 3.586 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002991/0.6287, allocations: 307.7 kB / 1.428 GB, free: 3.285 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002442/0.629, allocations: 75.84 kB / 1.428 GB, free: 3.211 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001068/0.63, allocations: 475 kB / 1.429 GB, free: 2.742 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003999/0.6304, allocations: 182.9 kB / 1.429 GB, free: 2.562 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01518/0.6456, allocations: 5.253 MB / 1.434 GB, free: 13.25 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.236e-05/0.6456, allocations: 16 kB / 1.434 GB, free: 13.24 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.535e-05/0.6457, allocations: 19.98 kB / 1.434 GB, free: 13.22 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-05/0.6457, allocations: 3.984 kB / 1.434 GB, free: 13.21 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01908/0.6648, allocations: 7.324 MB / 1.441 GB, free: 5.777 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.216e-05/0.6648, allocations: 4 kB / 1.441 GB, free: 5.773 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002661/0.6675, allocations: 351.7 kB / 1.442 GB, free: 5.43 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007158/0.6746, allocations: 1.697 MB / 1.443 GB, free: 3.711 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003004/0.6749, allocations: 39.97 kB / 1.443 GB, free: 3.672 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03367/0.7086, allocations: 22.51 MB / 1.465 GB, free: 12.25 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.7086, allocations: 0 / 1.465 GB, free: 12.25 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01438/0.723, allocations: 4.83 MB / 1.47 GB, free: 7.34 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001408/0.7244, allocations: 430.8 kB / 1.47 GB, free: 6.918 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000364/0.7247, allocations: 32 kB / 1.47 GB, free: 6.887 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002682/0.7274, allocations: 319.9 kB / 1.471 GB, free: 6.574 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005891/0.728, allocations: 160.8 kB / 1.471 GB, free: 6.414 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001589/0.7282, allocations: 55.95 kB / 1.471 GB, free: 6.359 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.00128/0.7295, allocations: 0.7899 MB / 1.472 GB, free: 5.57 MB / 1.17 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7295, allocations: 0 / 1.472 GB, free: 5.57 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002502/0.732, allocations: 0.664 MB / 1.472 GB, free: 4.906 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003541/0.7323, allocations: 147 kB / 1.472 GB, free: 4.754 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01621/0.7485, allocations: 4.921 MB / 1.477 GB, free: 15.72 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.7485, allocations: 0 / 1.477 GB, free: 15.72 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.008125/0.7567, allocations: 3.269 MB / 1.48 GB, free: 12.35 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002934/0.7596, allocations: 0.5517 MB / 1.481 GB, free: 11.82 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/0.7702, allocations: 4.363 MB / 1.485 GB, free: 7.398 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00181/0.772, allocations: 1.568 MB / 1.487 GB, free: 5.793 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001517/0.7735, allocations: 386.4 kB / 1.487 GB, free: 5.41 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000458/0.774, allocations: 107.4 kB / 1.487 GB, free: 5.305 MB / 1.186 GB Notification: Performance of SimCode: time 1.543e-06/0.774, allocations: 0 / 1.487 GB, free: 5.305 MB / 1.186 GB Notification: Performance of Templates: time 0.0832/0.8572, allocations: 47.12 MB / 1.533 GB, free: 6.641 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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: 10.854849042370915]