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.001638/0.001638, allocations: 118.2 kB / 17.13 MB, free: 5.945 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.00191/0.00191, allocations: 209.5 kB / 20.09 MB, free: 2.996 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.564/1.564, allocations: 230.6 MB / 253.5 MB, free: 15.12 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 2.991/2.991, allocations: 0.49 GB / 0.7922 GB, free: 1.363 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.002023/0.002023, allocations: 75.89 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.259/1.261, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.06595/1.327, allocations: 33.18 MB / 1.354 GB, free: 2.801 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03437/1.361, allocations: 10.43 MB / 1.365 GB, free: 11.66 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005702/1.367, allocations: 197 kB / 1.365 GB, free: 11.57 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0185/1.385, allocations: 3.776 MB / 1.368 GB, free: 9.316 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01249/1.398, allocations: 1.95 MB / 1.37 GB, free: 8.121 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.01268/1.411, allocations: 2.139 MB / 1.372 GB, free: 6.918 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01889/1.43, allocations: 7.33 MB / 1.38 GB, free: 3.605 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02061/1.45, allocations: 7.043 MB / 1.386 GB, free: 0.793 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0109/1.461, allocations: 3.266 MB / 1.39 GB, free: 15.29 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01232/1.473, allocations: 3.677 MB / 1.393 GB, free: 13.75 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.00393/1.477, allocations: 0.6462 MB / 1.394 GB, free: 13.75 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01024/1.487, allocations: 1.805 MB / 1.396 GB, free: 13.3 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.009069/1.497, allocations: 2.614 MB / 1.398 GB, free: 12.17 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.01305/1.51, allocations: 2.906 MB / 1.401 GB, free: 10.28 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.03046/1.54, allocations: 10.13 MB / 1.411 GB, free: 5.355 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 9.848e-06/1.54, allocations: 0 / 1.411 GB, free: 5.355 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.865e-06/1.54, allocations: 0 / 1.411 GB, free: 5.355 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0004177/1.541, allocations: 0 / 1.411 GB, free: 5.355 MB / 1.092 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.02971/1.57, allocations: 5.129 MB / 1.416 GB, free: 1.848 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 6.301e-05/1.57, allocations: 13.17 kB / 1.416 GB, free: 1.844 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01342/1.584, allocations: 0.9789 MB / 1.417 GB, free: 1.355 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01317/1.597, allocations: 3.063 MB / 1.42 GB, free: 15.35 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005892/1.597, allocations: 348.8 kB / 1.42 GB, free: 15.19 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002908/1.6, allocations: 462.5 kB / 1.421 GB, free: 15.04 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03206/1.632, allocations: 7.671 MB / 1.428 GB, free: 10.21 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002936/1.633, allocations: 22.27 kB / 1.428 GB, free: 10.2 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002462/1.635, allocations: 203.9 kB / 1.428 GB, free: 10.05 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006586/1.636, allocations: 315.6 kB / 1.429 GB, free: 9.973 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02202/1.658, allocations: 5.708 MB / 1.434 GB, free: 6.098 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07174/1.73, allocations: 34.89 MB / 1.468 GB, free: 8 kB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005524/1.735, allocations: 2.012 MB / 1.47 GB, free: 13.88 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003186/1.738, allocations: 1.12 MB / 1.471 GB, free: 12.76 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000146/1.738, allocations: 21.28 kB / 1.471 GB, free: 12.74 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.028e-05/1.739, allocations: 51.81 kB / 1.471 GB, free: 12.68 MB / 1.154 GB Notification: Performance of pre-optimization done (n=133): time 5.52e-06/1.739, allocations: 0 / 1.471 GB, free: 12.68 MB / 1.154 GB Notification: Performance of matching and sorting (n=136): time 0.02731/1.766, allocations: 7.11 MB / 1.478 GB, free: 5.305 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.385e-05/1.766, allocations: 64.72 kB / 1.478 GB, free: 5.23 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003827/1.77, allocations: 1.488 MB / 1.48 GB, free: 3.695 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0004101/1.77, allocations: 49.7 kB / 1.48 GB, free: 3.641 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.002682/1.773, allocations: 2.065 MB / 1.482 GB, free: 1.555 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001192/1.774, allocations: 0.5036 MB / 1.482 GB, free: 1.047 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001022/1.775, allocations: 351.3 kB / 1.483 GB, free: 0.6953 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002225/1.775, allocations: 301.1 kB / 1.483 GB, free: 408 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002578/1.778, allocations: 0.9097 MB / 1.484 GB, free: 15.48 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003173/1.781, allocations: 1.597 MB / 1.486 GB, free: 13.57 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005746/1.787, allocations: 2.737 MB / 1.488 GB, free: 10.53 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.159e-05/1.787, allocations: 8 kB / 1.488 GB, free: 10.52 MB / 1.17 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.01159/1.798, allocations: 3.511 MB / 1.492 GB, free: 6.961 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 5.195e-05/1.798, allocations: 19.94 kB / 1.492 GB, free: 6.941 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.877e-05/1.798, allocations: 23.94 kB / 1.492 GB, free: 6.918 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005125/1.804, allocations: 0.9045 MB / 1.493 GB, free: 5.98 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002625/1.806, allocations: 347.4 kB / 1.493 GB, free: 5.641 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03938/1.846, allocations: 23.12 MB / 1.515 GB, free: 12.85 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003148/1.849, allocations: 104 kB / 1.516 GB, free: 12.75 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003647/1.849, allocations: 84 kB / 1.516 GB, free: 12.67 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.005476/1.855, allocations: 1.616 MB / 1.517 GB, free: 11.04 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008903/1.855, allocations: 218.6 kB / 1.517 GB, free: 10.83 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00917/1.865, allocations: 2.959 MB / 1.52 GB, free: 7.82 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.88e-05/1.865, allocations: 16 kB / 1.52 GB, free: 7.805 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.083e-05/1.865, allocations: 8 kB / 1.52 GB, free: 7.797 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.643e-05/1.865, allocations: 11.86 kB / 1.52 GB, free: 7.785 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02261/1.887, allocations: 7.313 MB / 1.527 GB, free: 240 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.186e-05/1.887, allocations: 4 kB / 1.527 GB, free: 236 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001404/1.889, allocations: 175.7 kB / 1.528 GB, free: 60 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004067/1.893, allocations: 0.8262 MB / 1.528 GB, free: 15.2 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002968/1.893, allocations: 28 kB / 1.528 GB, free: 15.17 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03247/1.926, allocations: 21.96 MB / 1.55 GB, free: 7.516 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/1.926, allocations: 7.938 kB / 1.55 GB, free: 7.508 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005943/1.932, allocations: 3.007 MB / 1.553 GB, free: 4.391 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001435/1.933, allocations: 471.6 kB / 1.553 GB, free: 3.91 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006959/1.934, allocations: 31.98 kB / 1.553 GB, free: 3.879 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/1.935, allocations: 68.11 kB / 1.553 GB, free: 3.812 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005754/1.936, allocations: 132.6 kB / 1.554 GB, free: 3.684 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/1.936, allocations: 43.97 kB / 1.554 GB, free: 3.641 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001964/1.938, allocations: 0.9717 MB / 1.555 GB, free: 2.645 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/1.938, allocations: 0 / 1.555 GB, free: 2.645 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.004118/1.942, allocations: 0.7891 MB / 1.555 GB, free: 1.855 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.0003582/1.942, allocations: 149.2 kB / 1.555 GB, free: 1.703 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.006709/1.949, allocations: 3.921 MB / 1.559 GB, free: 13.63 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/1.949, allocations: 4 kB / 1.559 GB, free: 13.62 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.004368/1.953, allocations: 2.663 MB / 1.562 GB, free: 10.8 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004061/1.957, allocations: 0.7291 MB / 1.563 GB, free: 10.1 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01779/1.975, allocations: 7.864 MB / 1.57 GB, free: 2.137 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005688/1.981, allocations: 3.187 MB / 1.573 GB, free: 14.92 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006516/1.982, allocations: 119.4 kB / 1.574 GB, free: 14.8 MB / 1.264 GB Notification: Performance of SimCode: time 2.114e-06/1.982, allocations: 4 kB / 1.574 GB, free: 14.8 MB / 1.264 GB Notification: Performance of Templates: time 1.276/3.257, allocations: 321.9 MB / 1.888 GB, free: 485.7 MB / 1.545 GB " [Timeout remaining time 297] 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: 26.38250047901238]