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.0009125/0.0009125, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001443/0.001443, allocations: 173 kB / 23.36 MB, free: 1.133 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.9355/0.9355, allocations: 177.1 MB / 203.8 MB, free: 5.469 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 2.504/2.504, allocations: 438.8 MB / 0.6827 GB, free: 13.64 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.733e-06/1.733e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.554e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.01372/0.01374, allocations: 17.02 MB / 0.8553 GB, free: 13.1 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.008642/0.02239, allocations: 5.233 MB / 0.8604 GB, free: 7.852 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002423/0.02481, allocations: 190.6 kB / 0.8606 GB, free: 7.664 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001759/0.02657, allocations: 0.7523 MB / 0.8613 GB, free: 6.906 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.003435/0.03, allocations: 1.651 MB / 0.8629 GB, free: 5.246 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002712/0.03271, allocations: 1.564 MB / 0.8644 GB, free: 3.68 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.007445/0.04016, allocations: 7.336 MB / 0.8716 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006109/0.04627, allocations: 5.403 MB / 0.8769 GB, free: 6.766 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007917/0.05419, allocations: 4.561 MB / 0.8813 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005/0.05919, allocations: 3.422 MB / 0.8847 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.001006/0.06019, allocations: 0.6445 MB / 0.8853 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.06148, allocations: 0.738 MB / 0.886 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.002098/0.06358, allocations: 2.759 MB / 0.8887 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.002608/0.06619, allocations: 2.027 MB / 0.8907 GB, free: 8.586 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.005192/0.07138, allocations: 5.033 MB / 0.8956 GB, free: 3.539 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.07139, allocations: 0 / 0.8956 GB, free: 3.539 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.293e-06/0.07139, allocations: 0 / 0.8956 GB, free: 3.539 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002112/0.0716, allocations: 0 / 0.8956 GB, free: 3.539 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.005845/0.07744, allocations: 4.692 MB / 0.9002 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.07748, allocations: 8.625 kB / 0.9002 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002955/0.08044, allocations: 1.233 MB / 0.9014 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003484/0.08392, allocations: 2.384 MB / 0.9037 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002025/0.08412, allocations: 353.7 kB / 0.9041 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006044/0.08473, allocations: 472.3 kB / 0.9045 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004776/0.0895, allocations: 4.299 MB / 0.9087 GB, free: 5.555 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-05/0.0896, allocations: 20.02 kB / 0.9087 GB, free: 5.535 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005756/0.09018, allocations: 204.3 kB / 0.9089 GB, free: 5.336 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002321/0.09041, allocations: 320.8 kB / 0.9092 GB, free: 5.02 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/0.09239, allocations: 1.24 MB / 0.9105 GB, free: 3.758 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01539/0.1078, allocations: 18.01 MB / 0.928 GB, free: 1.102 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008375/0.1086, allocations: 0.7005 MB / 0.9287 GB, free: 400 kB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004128/0.109, allocations: 387.7 kB / 0.9291 GB, free: 8 kB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.241e-05/0.1091, allocations: 29.3 kB / 0.9291 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.1091, allocations: 47.88 kB / 0.9292 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=133): time 3.266e-06/0.1091, allocations: 0 / 0.9292 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of matching and sorting (n=136): time 0.00539/0.1145, allocations: 2.723 MB / 0.9318 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.1146, allocations: 68.72 kB / 0.9319 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008264/0.1154, allocations: 1.216 MB / 0.9331 GB, free: 11.85 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.029e-05/0.1155, allocations: 49.7 kB / 0.9331 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006826/0.1161, allocations: 1.86 MB / 0.9349 GB, free: 9.918 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/0.1164, allocations: 0.4918 MB / 0.9354 GB, free: 9.422 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000293/0.1167, allocations: 335.2 kB / 0.9357 GB, free: 9.09 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.476e-05/0.1167, allocations: 305.1 kB / 0.936 GB, free: 8.789 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/0.117, allocations: 199.9 kB / 0.9362 GB, free: 8.594 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008105/0.1178, allocations: 0.8902 MB / 0.9371 GB, free: 7.391 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.1188, allocations: 1.314 MB / 0.9384 GB, free: 5.766 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.1188, allocations: 8 kB / 0.9384 GB, free: 5.758 MB / 0.9011 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00198/0.1208, allocations: 1.652 MB / 0.94 GB, free: 4.047 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.1208, allocations: 12 kB / 0.94 GB, free: 4.035 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.1208, allocations: 24 kB / 0.94 GB, free: 4.012 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001316/0.1222, allocations: 0.6757 MB / 0.9407 GB, free: 3.285 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006581/0.1228, allocations: 335.5 kB / 0.941 GB, free: 2.957 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01018/0.133, allocations: 16.86 MB / 0.9575 GB, free: 0.9336 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009833/0.134, allocations: 64 kB / 0.9575 GB, free: 0.8711 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.164e-05/0.1341, allocations: 72.05 kB / 0.9576 GB, free: 0.8008 MB / 0.9167 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.0008681/0.1349, allocations: 236 kB / 0.9578 GB, free: 0.5586 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/0.1351, allocations: 175.8 kB / 0.958 GB, free: 396 kB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/0.1368, allocations: 1.285 MB / 0.9593 GB, free: 15.03 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.1368, allocations: 16 kB / 0.9593 GB, free: 15.02 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.1369, allocations: 11.94 kB / 0.9593 GB, free: 15 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.1369, allocations: 7.969 kB / 0.9593 GB, free: 15 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004857/0.1417, allocations: 3.347 MB / 0.9626 GB, free: 11.52 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.1417, allocations: 8.062 kB / 0.9626 GB, free: 11.51 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004327/0.1422, allocations: 159.8 kB / 0.9627 GB, free: 11.35 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001203/0.1434, allocations: 0.6167 MB / 0.9633 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.685e-05/0.1434, allocations: 28 kB / 0.9633 GB, free: 10.66 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009767/0.1532, allocations: 15.86 MB / 0.9788 GB, free: 9.637 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.1532, allocations: 8.062 kB / 0.9788 GB, free: 9.629 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002165/0.1554, allocations: 1.444 MB / 0.9802 GB, free: 8.059 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005582/0.1559, allocations: 286.6 kB / 0.9805 GB, free: 7.777 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.156, allocations: 28 kB / 0.9805 GB, free: 7.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003354/0.1564, allocations: 28 kB / 0.9806 GB, free: 7.723 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002917/0.1567, allocations: 132.6 kB / 0.9807 GB, free: 7.594 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.951e-05/0.1567, allocations: 28 kB / 0.9807 GB, free: 7.566 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004814/0.1572, allocations: 0.5872 MB / 0.9813 GB, free: 6.984 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.1572, allocations: 0 / 0.9813 GB, free: 6.984 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002014/0.1592, allocations: 0.7969 MB / 0.9821 GB, free: 6.188 MB / 0.948 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.0001818/0.1594, allocations: 122.3 kB / 0.9822 GB, free: 6.059 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002564/0.162, allocations: 2.648 MB / 0.9848 GB, free: 3.254 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.181e-05/0.162, allocations: 25.81 kB / 0.9848 GB, free: 3.227 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001508/0.1635, allocations: 2.095 MB / 0.9869 GB, free: 0.9766 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.165, allocations: 0.7176 MB / 0.9876 GB, free: 292 kB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008116/0.1731, allocations: 6.83 MB / 0.9942 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009686/0.1741, allocations: 1.128 MB / 0.9953 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0006946/0.1747, allocations: 241.5 kB / 0.9956 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008129/0.1756, allocations: 0.4912 MB / 0.996 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of SimCode: time 1.603e-06/0.1756, allocations: 0 / 0.996 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of Templates: time 0.06393/0.2395, allocations: 38.92 MB / 1.034 GB, free: 1.301 MB / 0.9948 GB " [Timeout remaining time 300] 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 -s gbode -gbm=radauIIA3 -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.052061445079744]