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.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.001537/0.001537, allocations: 114.1 kB / 17.13 MB, free: 5.926 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.001912/0.001912, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.616/1.616, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.023/3.023, allocations: 0.49 GB / 0.7922 GB, free: 1.324 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.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: 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.002092/0.002092, allocations: 63.91 kB / 1.15 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9785/0.9806, allocations: 176.1 MB / 1.322 GB, free: 25.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01574/0.9963, allocations: 14.99 MB / 1.337 GB, free: 15.03 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01609/1.012, allocations: 10.52 MB / 1.347 GB, free: 7.812 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002244/1.015, allocations: 89.19 kB / 1.347 GB, free: 7.762 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004568/1.019, allocations: 1.71 MB / 1.349 GB, free: 6.746 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.007575/1.027, allocations: 1.849 MB / 1.35 GB, free: 5.676 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002615/1.029, allocations: 0.7545 MB / 1.351 GB, free: 5.285 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.005255/1.035, allocations: 2.76 MB / 1.354 GB, free: 4.047 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001953/1.037, allocations: 1.127 MB / 1.355 GB, free: 3.488 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003502/1.04, allocations: 1.717 MB / 1.357 GB, free: 2.891 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002025/1.042, allocations: 1.108 MB / 1.358 GB, free: 2.426 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002822/1.042, allocations: 159.7 kB / 1.358 GB, free: 2.422 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002014/1.044, allocations: 0.7992 MB / 1.359 GB, free: 2.188 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0007369/1.045, allocations: 0.6111 MB / 1.359 GB, free: 1.895 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001165/1.046, allocations: 0.953 MB / 1.36 GB, free: 1.305 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004496/1.051, allocations: 2.741 MB / 1.363 GB, free: 348 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/1.051, allocations: 1.984 kB / 1.363 GB, free: 348 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.773e-06/1.051, allocations: 0 / 1.363 GB, free: 348 kB / 1.061 GB Notification: Performance of Transformations before backend: time 5.296e-05/1.051, allocations: 0 / 1.363 GB, free: 348 kB / 1.061 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.005155/1.056, allocations: 2.22 MB / 1.365 GB, free: 14.93 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/1.056, allocations: 12.17 kB / 1.365 GB, free: 14.93 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01317/1.069, allocations: 2.119 MB / 1.367 GB, free: 14.78 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003541/1.073, allocations: 1.276 MB / 1.368 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-05/1.073, allocations: 89.41 kB / 1.368 GB, free: 14.01 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003321/1.073, allocations: 123.6 kB / 1.369 GB, free: 13.96 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00733/1.081, allocations: 2.626 MB / 1.371 GB, free: 12.94 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.761e-05/1.081, allocations: 11.62 kB / 1.371 GB, free: 12.93 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002315/1.081, allocations: 53.3 kB / 1.371 GB, free: 12.89 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007768/1.082, allocations: 190.6 kB / 1.371 GB, free: 12.88 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008891/1.091, allocations: 2.792 MB / 1.374 GB, free: 12.16 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01826/1.109, allocations: 10.48 MB / 1.384 GB, free: 4.926 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00774/1.117, allocations: 2.254 MB / 1.387 GB, free: 4.324 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003682/1.12, allocations: 1.198 MB / 1.388 GB, free: 4.012 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-05/1.12, allocations: 9.438 kB / 1.388 GB, free: 4.012 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.726e-05/1.12, allocations: 53.31 kB / 1.388 GB, free: 3.953 MB / 1.076 GB Notification: Performance of pre-optimization done (n=89): time 3.246e-06/1.12, allocations: 0 / 1.388 GB, free: 3.953 MB / 1.076 GB Notification: Performance of matching and sorting (n=153): time 0.06741/1.188, allocations: 16.44 MB / 1.404 GB, free: 12.98 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.357e-05/1.188, allocations: 70.69 kB / 1.404 GB, free: 12.91 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00194/1.19, allocations: 1.173 MB / 1.405 GB, free: 12.27 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.000303/1.19, allocations: 51.8 kB / 1.405 GB, free: 12.22 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006735/1.191, allocations: 0.7606 MB / 1.406 GB, free: 11.55 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000672/1.191, allocations: 0.5353 MB / 1.406 GB, free: 11.07 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000665/1.192, allocations: 292 kB / 1.407 GB, free: 10.91 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.192, allocations: 310.4 kB / 1.407 GB, free: 10.6 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004092/1.196, allocations: 1.502 MB / 1.408 GB, free: 9.824 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004378/1.201, allocations: 1.789 MB / 1.41 GB, free: 8.719 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008537/1.209, allocations: 3.366 MB / 1.413 GB, free: 6.785 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/1.209, allocations: 1.875 kB / 1.413 GB, free: 6.785 MB / 1.092 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.0157/1.225, allocations: 5.219 MB / 1.418 GB, free: 3.91 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/1.225, allocations: 8.375 kB / 1.419 GB, free: 3.91 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/1.225, allocations: 11.12 kB / 1.419 GB, free: 3.906 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007806/1.233, allocations: 1.882 MB / 1.42 GB, free: 2.922 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002331/1.235, allocations: 413.1 kB / 1.421 GB, free: 2.762 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03558/1.271, allocations: 24.15 MB / 1.444 GB, free: 10.17 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003472/1.274, allocations: 303.5 kB / 1.445 GB, free: 9.871 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002942/1.274, allocations: 67.95 kB / 1.445 GB, free: 9.805 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.001191/1.276, allocations: 469.5 kB / 1.445 GB, free: 9.336 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004959/1.276, allocations: 186.9 kB / 1.445 GB, free: 9.152 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01575/1.292, allocations: 5.246 MB / 1.45 GB, free: 3.859 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.583e-05/1.292, allocations: 16 kB / 1.45 GB, free: 3.844 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.571e-05/1.292, allocations: 20 kB / 1.45 GB, free: 3.824 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.619e-05/1.292, allocations: 7.969 kB / 1.45 GB, free: 3.816 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02005/1.312, allocations: 7.353 MB / 1.458 GB, free: 12.34 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/1.312, allocations: 0 / 1.458 GB, free: 12.34 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001984/1.314, allocations: 355.7 kB / 1.458 GB, free: 11.99 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006881/1.321, allocations: 1.714 MB / 1.46 GB, free: 10.25 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002406/1.321, allocations: 43.97 kB / 1.46 GB, free: 10.21 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03273/1.354, allocations: 23.32 MB / 1.482 GB, free: 1.781 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/1.354, allocations: 3.938 kB / 1.482 GB, free: 1.777 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01429/1.368, allocations: 4.841 MB / 1.487 GB, free: 12.85 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001475/1.37, allocations: 499.7 kB / 1.488 GB, free: 12.34 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003063/1.37, allocations: 31.98 kB / 1.488 GB, free: 12.31 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00242/1.372, allocations: 315.5 kB / 1.488 GB, free: 12 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006298/1.373, allocations: 153 kB / 1.488 GB, free: 11.85 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001581/1.373, allocations: 55.97 kB / 1.488 GB, free: 11.8 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001246/1.374, allocations: 0.7899 MB / 1.489 GB, free: 11.01 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.374, allocations: 0 / 1.489 GB, free: 11.01 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00247/1.377, allocations: 0.6562 MB / 1.49 GB, free: 10.35 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.0003388/1.377, allocations: 143.1 kB / 1.49 GB, free: 10.2 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0127/1.39, allocations: 4.913 MB / 1.495 GB, free: 5.184 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/1.39, allocations: 4 kB / 1.495 GB, free: 5.18 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.008174/1.398, allocations: 3.265 MB / 1.498 GB, free: 1.812 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002999/1.401, allocations: 0.5621 MB / 1.498 GB, free: 1.266 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/1.412, allocations: 4.462 MB / 1.503 GB, free: 12.74 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001589/1.413, allocations: 1.568 MB / 1.504 GB, free: 11.13 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007215/1.414, allocations: 131.3 kB / 1.504 GB, free: 11 MB / 1.186 GB Notification: Performance of SimCode: time 1.403e-06/1.414, allocations: 0 / 1.504 GB, free: 11 MB / 1.186 GB Notification: Performance of Templates: time 0.1076/1.522, allocations: 85.93 MB / 1.588 GB, free: 5.148 MB / 1.264 GB " [Timeout remaining time 298] 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/jenkins1/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: 19.39551062999817]