Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001989/0.001989, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002429/0.002429, allocations: 214.3 kB / 22.99 MB, free: 4.945 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.308/3.308, allocations: 0.4892 GB / 0.7951 GB, free: 35.53 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [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.003249/0.003249, allocations: 73.47 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.4417, allocations: 176.1 MB / 1.326 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04173/0.4834, allocations: 31.52 MB / 1.357 GB, free: 2.242 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02181/0.5052, allocations: 10.3 MB / 1.367 GB, free: 7.91 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003978/0.5092, allocations: 190.6 kB / 1.367 GB, free: 7.723 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0114/0.5206, allocations: 3.73 MB / 1.371 GB, free: 3.984 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.007062/0.5277, allocations: 1.952 MB / 1.373 GB, free: 2.023 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.006909/0.5346, allocations: 2.141 MB / 1.375 GB, free: 15.88 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01098/0.5455, allocations: 7.33 MB / 1.382 GB, free: 8.531 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009437/0.555, allocations: 5.092 MB / 1.387 GB, free: 3.316 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007365/0.5623, allocations: 3.291 MB / 1.39 GB, free: 16 kB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007261/0.5696, allocations: 3.453 MB / 1.394 GB, free: 12.55 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002278/0.5719, allocations: 0.6445 MB / 1.394 GB, free: 11.91 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005221/0.5771, allocations: 1.654 MB / 1.396 GB, free: 10.25 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.005163/0.5823, allocations: 2.615 MB / 1.398 GB, free: 7.629 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.00864/0.5909, allocations: 2.342 MB / 1.401 GB, free: 5.277 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01886/0.6098, allocations: 10.18 MB / 1.411 GB, free: 11.06 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 1.293e-05/0.6098, allocations: 4 kB / 1.411 GB, free: 11.06 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.725e-06/0.6098, allocations: 0 / 1.411 GB, free: 11.06 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0004265/0.6102, allocations: 0 / 1.411 GB, free: 11.06 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.02191/0.6321, allocations: 5.046 MB / 1.416 GB, free: 5.953 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 7.235e-05/0.6322, allocations: 12.03 kB / 1.416 GB, free: 5.941 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007656/0.6399, allocations: 0.9735 MB / 1.417 GB, free: 4.965 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008281/0.6481, allocations: 3.003 MB / 1.42 GB, free: 1.891 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003825/0.6485, allocations: 345.7 kB / 1.42 GB, free: 1.551 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001965/0.6505, allocations: 464.2 kB / 1.42 GB, free: 1.098 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01867/0.6692, allocations: 7.976 MB / 1.428 GB, free: 8.699 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001723/0.6693, allocations: 23.83 kB / 1.428 GB, free: 8.676 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006351/0.67, allocations: 204 kB / 1.428 GB, free: 8.477 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003977/0.6704, allocations: 316.9 kB / 1.429 GB, free: 8.164 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01261/0.683, allocations: 5.702 MB / 1.434 GB, free: 2.445 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03562/0.7186, allocations: 21.91 MB / 1.456 GB, free: 11.89 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002714/0.7213, allocations: 1.55 MB / 1.457 GB, free: 10.34 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001626/0.7229, allocations: 1.125 MB / 1.458 GB, free: 9.215 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 7.772e-05/0.723, allocations: 13.31 kB / 1.458 GB, free: 9.199 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.723, allocations: 43.88 kB / 1.458 GB, free: 9.148 MB / 1.154 GB Notification: Performance of pre-optimization done (n=133): time 4.188e-06/0.723, allocations: 0 / 1.458 GB, free: 9.148 MB / 1.154 GB Notification: Performance of matching and sorting (n=136): time 0.01409/0.7371, allocations: 6.199 MB / 1.464 GB, free: 2.906 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.7372, allocations: 72.59 kB / 1.464 GB, free: 2.824 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002091/0.7393, allocations: 1.403 MB / 1.466 GB, free: 1.418 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001298/0.7394, allocations: 45.7 kB / 1.466 GB, free: 1.367 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001586/0.741, allocations: 2.065 MB / 1.468 GB, free: 15.28 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005234/0.7415, allocations: 0.4996 MB / 1.468 GB, free: 14.78 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005416/0.7421, allocations: 355.4 kB / 1.469 GB, free: 14.42 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.7422, allocations: 301.1 kB / 1.469 GB, free: 14.12 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.7436, allocations: 0.9135 MB / 1.47 GB, free: 13.21 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00195/0.7455, allocations: 1.597 MB / 1.471 GB, free: 11.3 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003837/0.7493, allocations: 2.733 MB / 1.474 GB, free: 8.258 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.409e-05/0.7494, allocations: 8 kB / 1.474 GB, free: 8.25 MB / 1.17 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006613/0.756, allocations: 3.5 MB / 1.477 GB, free: 4.703 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/0.756, allocations: 16.03 kB / 1.477 GB, free: 4.688 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.442e-05/0.756, allocations: 24 kB / 1.478 GB, free: 4.664 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002584/0.7586, allocations: 0.9076 MB / 1.478 GB, free: 3.719 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.7598, allocations: 355.3 kB / 1.479 GB, free: 3.371 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0226/0.7824, allocations: 21.47 MB / 1.5 GB, free: 12.68 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/0.7842, allocations: 99.86 kB / 1.5 GB, free: 12.58 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/0.7843, allocations: 88 kB / 1.5 GB, free: 12.5 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003002/0.7873, allocations: 1.604 MB / 1.501 GB, free: 10.88 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004587/0.7878, allocations: 210.7 kB / 1.502 GB, free: 10.68 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005396/0.7932, allocations: 2.959 MB / 1.505 GB, free: 7.664 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.7932, allocations: 15.94 kB / 1.505 GB, free: 7.648 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/0.7932, allocations: 12 kB / 1.505 GB, free: 7.637 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/0.7932, allocations: 7.969 kB / 1.505 GB, free: 7.629 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01161/0.8049, allocations: 6.003 MB / 1.51 GB, free: 1.492 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.8049, allocations: 4 kB / 1.51 GB, free: 1.488 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008035/0.8057, allocations: 171.7 kB / 1.511 GB, free: 1.32 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002395/0.8081, allocations: 0.8222 MB / 1.511 GB, free: 472 kB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.727e-05/0.8082, allocations: 31.98 kB / 1.511 GB, free: 440 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02188/0.83, allocations: 20.33 MB / 1.531 GB, free: 10.87 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.83, allocations: 8 kB / 1.531 GB, free: 10.86 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005631/0.8357, allocations: 3.002 MB / 1.534 GB, free: 7.738 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/0.8369, allocations: 382.5 kB / 1.535 GB, free: 7.363 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002416/0.8372, allocations: 35.98 kB / 1.535 GB, free: 7.328 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000795/0.8379, allocations: 63.92 kB / 1.535 GB, free: 7.266 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003849/0.8383, allocations: 136.6 kB / 1.535 GB, free: 7.133 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.525e-05/0.8384, allocations: 36 kB / 1.535 GB, free: 7.098 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001337/0.8398, allocations: 0.8942 MB / 1.536 GB, free: 6.211 MB / 1.232 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8398, allocations: 0 / 1.536 GB, free: 6.211 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.00293/0.8427, allocations: 0.7891 MB / 1.536 GB, free: 5.422 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002577/0.8429, allocations: 139.1 kB / 1.537 GB, free: 5.277 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.006151/0.8491, allocations: 3.917 MB / 1.54 GB, free: 1.207 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-05/0.8491, allocations: 4 kB / 1.54 GB, free: 1.203 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.003977/0.8531, allocations: 2.667 MB / 1.543 GB, free: 14.38 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003225/0.8563, allocations: 0.7043 MB / 1.544 GB, free: 13.7 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0154/0.8717, allocations: 7.967 MB / 1.552 GB, free: 5.637 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004387/0.8761, allocations: 2.635 MB / 1.554 GB, free: 2.973 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006345/0.8767, allocations: 123.4 kB / 1.554 GB, free: 2.852 MB / 1.248 GB Notification: Performance of SimCode: time 1.443e-06/0.8767, allocations: 3.938 kB / 1.554 GB, free: 2.848 MB / 1.248 GB Notification: Performance of Templates: time 1.04/1.916, allocations: 323 MB / 1.87 GB, free: 13.77 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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: 24.817152346950024]