Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001321/0.001321, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001664/0.001664, allocations: 173 kB / 23.49 MB, free: 1.055 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 0.9459/0.9459, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.999/1.999, allocations: 429.5 MB / 0.6736 GB, free: 4.07 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_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.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.8782 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.635e-05/1.766e-05, allocations: 3.406 kB / 0.8782 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02585/0.02587, allocations: 33.03 MB / 0.9105 GB, free: 5.562 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01226/0.03813, allocations: 10.52 MB / 0.9207 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001358/0.03949, allocations: 198.5 kB / 0.9209 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.004424/0.04392, allocations: 3.843 MB / 0.9247 GB, free: 6.969 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.003085/0.047, allocations: 1.997 MB / 0.9266 GB, free: 4.961 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.003154/0.05015, allocations: 2.154 MB / 0.9287 GB, free: 2.801 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.005532/0.05569, allocations: 7.469 MB / 0.936 GB, free: 11.31 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004846/0.06053, allocations: 5.132 MB / 0.941 GB, free: 6.051 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004517/0.06505, allocations: 4.639 MB / 0.9456 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003068/0.06812, allocations: 3.476 MB / 0.949 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0007202/0.06884, allocations: 0.6445 MB / 0.9496 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002682/0.07152, allocations: 1.68 MB / 0.9512 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.002305/0.07383, allocations: 2.767 MB / 0.9539 GB, free: 8.816 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.002047/0.07587, allocations: 2.043 MB / 0.9559 GB, free: 6.77 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.005606/0.08148, allocations: 5.652 MB / 0.9614 GB, free: 1.098 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.08148, allocations: 0 / 0.9614 GB, free: 1.098 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.314e-06/0.08149, allocations: 0 / 0.9614 GB, free: 1.098 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.701e-05/0.08157, allocations: 0 / 0.9614 GB, free: 1.098 MB / 0.9167 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.006112/0.08769, allocations: 5.309 MB / 0.9666 GB, free: 11.71 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/0.08774, allocations: 8.031 kB / 0.9666 GB, free: 11.71 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003855/0.0916, allocations: 1.55 MB / 0.9681 GB, free: 10.15 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003289/0.09489, allocations: 2.974 MB / 0.9711 GB, free: 7.109 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/0.09508, allocations: 353.7 kB / 0.9714 GB, free: 6.762 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004786/0.09556, allocations: 468.3 kB / 0.9718 GB, free: 6.305 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005936/0.1015, allocations: 4.764 MB / 0.9765 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.356e-05/0.1016, allocations: 28.02 kB / 0.9765 GB, free: 0.9805 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003228/0.1019, allocations: 200.3 kB / 0.9767 GB, free: 0.7852 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002629/0.1022, allocations: 320.9 kB / 0.977 GB, free: 480 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003221/0.1054, allocations: 1.762 MB / 0.9787 GB, free: 14.69 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01903/0.1244, allocations: 25.06 MB / 1.003 GB, free: 4.863 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.1256, allocations: 0.8023 MB / 1.004 GB, free: 4.051 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006421/0.1262, allocations: 0.5074 MB / 1.004 GB, free: 3.547 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.866e-05/0.1263, allocations: 21.31 kB / 1.005 GB, free: 3.527 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.1263, allocations: 50.7 kB / 1.005 GB, free: 3.465 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=133): time 3.507e-06/0.1264, allocations: 0 / 1.005 GB, free: 3.465 MB / 0.9636 GB Notification: Performance of matching and sorting (n=136): time 0.006788/0.1331, allocations: 3.761 MB / 1.008 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.1332, allocations: 68.72 kB / 1.008 GB, free: 15.56 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.1344, allocations: 1.323 MB / 1.01 GB, free: 14.23 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 6.595e-05/0.1345, allocations: 49.7 kB / 1.01 GB, free: 14.17 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001035/0.1355, allocations: 2.103 MB / 1.012 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003297/0.1358, allocations: 0.5075 MB / 1.012 GB, free: 11.54 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003392/0.1362, allocations: 353 kB / 1.013 GB, free: 11.19 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1363, allocations: 484.7 kB / 1.013 GB, free: 10.71 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005005/0.1368, allocations: 315.8 kB / 1.013 GB, free: 10.4 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.138, allocations: 1.294 MB / 1.015 GB, free: 8.688 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/0.1397, allocations: 1.775 MB / 1.016 GB, free: 6.488 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.1397, allocations: 12 kB / 1.016 GB, free: 6.477 MB / 0.9792 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00291/0.1426, allocations: 2.171 MB / 1.018 GB, free: 4.246 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.1426, allocations: 16.2 kB / 1.018 GB, free: 4.23 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.1427, allocations: 28 kB / 1.018 GB, free: 4.203 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001616/0.1443, allocations: 0.7065 MB / 1.019 GB, free: 3.445 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006706/0.1449, allocations: 347.4 kB / 1.019 GB, free: 3.105 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01363/0.1586, allocations: 23.79 MB / 1.043 GB, free: 9.855 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009074/0.1595, allocations: 115.8 kB / 1.043 GB, free: 9.742 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.145e-05/0.1596, allocations: 84 kB / 1.043 GB, free: 9.66 MB / 1.01 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.001202/0.1608, allocations: 284 kB / 1.043 GB, free: 9.371 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002524/0.161, allocations: 242.8 kB / 1.043 GB, free: 9.133 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002353/0.1634, allocations: 1.622 MB / 1.045 GB, free: 7.441 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.1634, allocations: 12 kB / 1.045 GB, free: 7.43 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.1634, allocations: 8 kB / 1.045 GB, free: 7.422 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.1634, allocations: 11.97 kB / 1.045 GB, free: 7.41 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0067/0.1701, allocations: 4.776 MB / 1.05 GB, free: 2.469 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.1701, allocations: 12.06 kB / 1.05 GB, free: 2.457 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004113/0.1705, allocations: 183.7 kB / 1.05 GB, free: 2.277 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001379/0.1719, allocations: 0.6363 MB / 1.05 GB, free: 1.59 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.35e-05/0.172, allocations: 28 kB / 1.051 GB, free: 1.562 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.62/0.792, allocations: 22.72 MB / 1.073 GB, free: 177.2 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.792, allocations: 5.781 kB / 1.073 GB, free: 177.2 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002745/0.7947, allocations: 1.866 MB / 1.075 GB, free: 176.5 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000624/0.7954, allocations: 364.7 kB / 1.075 GB, free: 176.5 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.7955, allocations: 31.38 kB / 1.075 GB, free: 176.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004205/0.7959, allocations: 70.19 kB / 1.075 GB, free: 176.5 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003198/0.7962, allocations: 135.7 kB / 1.075 GB, free: 176.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.202e-05/0.7963, allocations: 39.56 kB / 1.075 GB, free: 176.5 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0007384/0.797, allocations: 0.7468 MB / 1.076 GB, free: 176.3 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.797, allocations: 0 / 1.076 GB, free: 176.3 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002552/0.7996, allocations: 0.7992 MB / 1.077 GB, free: 176.3 MB / 1.01 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.0002306/0.7998, allocations: 150.7 kB / 1.077 GB, free: 176.2 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002846/0.8027, allocations: 3.507 MB / 1.08 GB, free: 174 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.8027, allocations: 2.938 kB / 1.08 GB, free: 174 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001635/0.8043, allocations: 2.843 MB / 1.083 GB, free: 171.9 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/0.806, allocations: 0.7189 MB / 1.084 GB, free: 171.9 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008544/0.8146, allocations: 6.574 MB / 1.09 GB, free: 169.1 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/0.8156, allocations: 1.129 MB / 1.091 GB, free: 169 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007796/0.8163, allocations: 375.3 kB / 1.092 GB, free: 168.9 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.8165, allocations: 111.4 kB / 1.092 GB, free: 168.9 MB / 1.01 GB Notification: Performance of SimCode: time 1.934e-06/0.8166, allocations: 0.6562 kB / 1.092 GB, free: 168.9 MB / 1.01 GB Notification: Performance of Templates: time 0.05795/0.8745, allocations: 36.65 MB / 1.127 GB, free: 163.3 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.981825401075184]