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.001902/0.001902, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002082/0.002082, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.575/1.575, allocations: 177.1 MB / 203.9 MB, free: 5.602 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 3.054/3.054, allocations: 377.8 MB / 0.6232 GB, free: 8.543 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.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: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.673e-05/3.865e-05, allocations: 7.031 kB / 0.8108 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.07019/0.07023, allocations: 32.84 MB / 0.8429 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.02812/0.09835, allocations: 10.49 MB / 0.8531 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004105/0.1025, allocations: 198.5 kB / 0.8533 GB, free: 6.469 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0153/0.1178, allocations: 3.852 MB / 0.8571 GB, free: 2.613 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.00844/0.1262, allocations: 1.999 MB / 0.859 GB, free: 0.6094 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.008909/0.1351, allocations: 2.166 MB / 0.8612 GB, free: 14.44 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01534/0.1504, allocations: 7.457 MB / 0.8684 GB, free: 6.961 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01109/0.1615, allocations: 5.132 MB / 0.8734 GB, free: 1.703 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009951/0.1715, allocations: 4.639 MB / 0.878 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007099/0.1786, allocations: 3.476 MB / 0.8814 GB, free: 9.57 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.001853/0.1804, allocations: 0.6484 MB / 0.882 GB, free: 8.922 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004459/0.1849, allocations: 1.673 MB / 0.8836 GB, free: 7.246 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.004167/0.1891, allocations: 2.775 MB / 0.8864 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.005028/0.1941, allocations: 2.039 MB / 0.8883 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01539/0.2095, allocations: 10.37 MB / 0.8985 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.2095, allocations: 4 kB / 0.8985 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2095, allocations: 3.938 kB / 0.8985 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002645/0.2098, allocations: 0 / 0.8985 GB, free: 8.016 MB / 0.8542 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.01422/0.224, allocations: 5.785 MB / 0.9041 GB, free: 2.16 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.224, allocations: 8.031 kB / 0.9041 GB, free: 2.152 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007401/0.2314, allocations: 1.562 MB / 0.9057 GB, free: 0.5859 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01117/0.2426, allocations: 2.978 MB / 0.9086 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005279/0.2431, allocations: 345.7 kB / 0.9089 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001809/0.2449, allocations: 476.2 kB / 0.9094 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01955/0.2645, allocations: 5.319 MB / 0.9145 GB, free: 6.883 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002279/0.2647, allocations: 27.95 kB / 0.9146 GB, free: 6.855 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009729/0.2657, allocations: 196.3 kB / 0.9148 GB, free: 6.664 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000641/0.2663, allocations: 320.9 kB / 0.9151 GB, free: 6.348 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01079/0.2771, allocations: 1.963 MB / 0.917 GB, free: 4.371 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06467/0.3418, allocations: 30.07 MB / 0.9463 GB, free: 5.379 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003336/0.3451, allocations: 0.8478 MB / 0.9472 GB, free: 4.523 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00162/0.3467, allocations: 0.5375 MB / 0.9477 GB, free: 3.984 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/0.3468, allocations: 21.31 kB / 0.9477 GB, free: 3.961 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.124e-05/0.3469, allocations: 50.7 kB / 0.9478 GB, free: 3.902 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=133): time 5.991e-06/0.3469, allocations: 0 / 0.9478 GB, free: 3.902 MB / 0.9011 GB Notification: Performance of matching and sorting (n=136): time 0.01924/0.3661, allocations: 4.023 MB / 0.9517 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.3663, allocations: 68.72 kB / 0.9518 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00434/0.3706, allocations: 1.854 MB / 0.9536 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003524/0.3709, allocations: 49.7 kB / 0.9536 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002678/0.3736, allocations: 2.209 MB / 0.9558 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00132/0.3749, allocations: 0.5427 MB / 0.9563 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00107/0.376, allocations: 429 kB / 0.9567 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000316/0.3763, allocations: 484.7 kB / 0.9572 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/0.3778, allocations: 419.8 kB / 0.9576 GB, free: 9.738 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002978/0.3808, allocations: 1.454 MB / 0.959 GB, free: 7.859 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004886/0.3857, allocations: 2.036 MB / 0.961 GB, free: 5.395 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.049e-05/0.3857, allocations: 4 kB / 0.961 GB, free: 5.391 MB / 0.9167 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.009317/0.3951, allocations: 2.444 MB / 0.9634 GB, free: 2.883 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.643e-05/0.3951, allocations: 16 kB / 0.9634 GB, free: 2.867 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-05/0.3951, allocations: 20 kB / 0.9634 GB, free: 2.848 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005173/0.4003, allocations: 0.8049 MB / 0.9642 GB, free: 1.992 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002177/0.4025, allocations: 351.4 kB / 0.9645 GB, free: 1.648 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03843/0.4409, allocations: 24.66 MB / 0.9886 GB, free: 7.523 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002502/0.4434, allocations: 107.8 kB / 0.9887 GB, free: 7.418 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003282/0.4438, allocations: 84 kB / 0.9888 GB, free: 7.336 MB / 0.948 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.001969/0.4457, allocations: 415.9 kB / 0.9892 GB, free: 6.918 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007953/0.4465, allocations: 242.7 kB / 0.9894 GB, free: 6.68 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007497/0.454, allocations: 1.798 MB / 0.9912 GB, free: 4.812 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-05/0.454, allocations: 12 kB / 0.9912 GB, free: 4.801 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.904e-05/0.4541, allocations: 12 kB / 0.9912 GB, free: 4.789 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.567e-05/0.4541, allocations: 11.97 kB / 0.9912 GB, free: 4.777 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02127/0.4754, allocations: 6.219 MB / 0.9973 GB, free: 14.38 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/0.4754, allocations: 4 kB / 0.9973 GB, free: 14.38 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/0.4768, allocations: 171.7 kB / 0.9975 GB, free: 14.21 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004936/0.4817, allocations: 0.7462 MB / 0.9982 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002533/0.482, allocations: 32 kB / 0.9982 GB, free: 13.38 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03599/0.518, allocations: 23.54 MB / 1.021 GB, free: 4.375 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/0.518, allocations: 4 kB / 1.021 GB, free: 4.371 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007487/0.5255, allocations: 2.085 MB / 1.023 GB, free: 2.141 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001657/0.5271, allocations: 366.5 kB / 1.024 GB, free: 1.781 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004023/0.5275, allocations: 31.98 kB / 1.024 GB, free: 1.75 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/0.5288, allocations: 63.92 kB / 1.024 GB, free: 1.688 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005307/0.5293, allocations: 136.6 kB / 1.024 GB, free: 1.551 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001424/0.5295, allocations: 39.94 kB / 1.024 GB, free: 1.512 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002354/0.5318, allocations: 1.023 MB / 1.025 GB, free: 0.4961 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5318, allocations: 0 / 1.025 GB, free: 0.4961 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.00497/0.5368, allocations: 0.7969 MB / 1.026 GB, free: 15.7 MB / 0.9948 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.0003695/0.5371, allocations: 135.1 kB / 1.026 GB, free: 15.56 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.009057/0.5462, allocations: 3.775 MB / 1.029 GB, free: 11.57 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/0.5462, allocations: 0 / 1.029 GB, free: 11.57 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.006649/0.5529, allocations: 2.983 MB / 1.032 GB, free: 8.375 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005455/0.5583, allocations: 0.72 MB / 1.033 GB, free: 7.684 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01998/0.5783, allocations: 6.713 MB / 1.04 GB, free: 0.8281 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005717/0.584, allocations: 2.287 MB / 1.042 GB, free: 14.5 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002167/0.5862, allocations: 373.2 kB / 1.042 GB, free: 14.14 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005251/0.5867, allocations: 108.5 kB / 1.042 GB, free: 14.03 MB / 1.01 GB Notification: Performance of SimCode: time 2.435e-06/0.5867, allocations: 0 / 1.042 GB, free: 14.03 MB / 1.01 GB Notification: Performance of Templates: time 0.4541/1.041, allocations: 36.62 MB / 1.078 GB, free: 249.1 MB / 1.01 GB " [Timeout remaining time 299] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] 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/jenkins/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: 10.054234147071838]