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.0009675/0.0009675, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.0009051/0.0009051, allocations: 165 kB / 23.82 MB, free: 0.7422 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.907/0.907, allocations: 177.2 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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 1.8/1.8, allocations: 377.8 MB / 0.6236 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 178] 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.[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_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.[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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.8116 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/2.913e-05, allocations: 6.906 kB / 0.8116 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.0139/0.01392, allocations: 17.47 MB / 0.8286 GB, free: 200 kB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.008189/0.02211, allocations: 5.098 MB / 0.8336 GB, free: 11.11 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002496/0.02461, allocations: 190.6 kB / 0.8338 GB, free: 10.92 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001967/0.02658, allocations: 0.7529 MB / 0.8345 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.003286/0.02986, allocations: 1.651 MB / 0.8361 GB, free: 8.516 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002717/0.03258, allocations: 1.57 MB / 0.8377 GB, free: 6.949 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.006811/0.03939, allocations: 7.344 MB / 0.8448 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006227/0.04562, allocations: 5.081 MB / 0.8498 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006255/0.05187, allocations: 4.56 MB / 0.8543 GB, free: 5.812 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00439/0.05626, allocations: 3.537 MB / 0.8577 GB, free: 2.27 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.001469/0.05773, allocations: 0.6445 MB / 0.8583 GB, free: 1.625 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001708/0.05944, allocations: 0.7341 MB / 0.8591 GB, free: 0.8906 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.002414/0.06185, allocations: 2.767 MB / 0.8618 GB, free: 14.11 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.003155/0.06501, allocations: 2.027 MB / 0.8637 GB, free: 12.08 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.005163/0.07017, allocations: 5.029 MB / 0.8687 GB, free: 7.039 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.07018, allocations: 3.938 kB / 0.8687 GB, free: 7.035 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.282e-06/0.07018, allocations: 0 / 0.8687 GB, free: 7.035 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002612/0.07044, allocations: 0 / 0.8687 GB, free: 7.035 MB / 0.823 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.006754/0.07719, allocations: 5.154 MB / 0.8737 GB, free: 1.812 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.07724, allocations: 12.03 kB / 0.8737 GB, free: 1.801 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00307/0.08031, allocations: 1.476 MB / 0.8751 GB, free: 328 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003798/0.08411, allocations: 2.918 MB / 0.878 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001941/0.0843, allocations: 345.7 kB / 0.8783 GB, free: 13 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006433/0.08495, allocations: 472.3 kB / 0.8788 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006299/0.09125, allocations: 4.764 MB / 0.8834 GB, free: 7.238 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.935e-05/0.09135, allocations: 35.94 kB / 0.8835 GB, free: 7.203 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003001/0.09165, allocations: 204.3 kB / 0.8837 GB, free: 7.004 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002283/0.09187, allocations: 316.9 kB / 0.884 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003514/0.09539, allocations: 1.758 MB / 0.8857 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01979/0.1152, allocations: 25.08 MB / 0.9102 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.1163, allocations: 0.7989 MB / 0.9109 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005814/0.1169, allocations: 0.5024 MB / 0.9114 GB, free: 9.758 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.883e-05/0.1169, allocations: 21.31 kB / 0.9115 GB, free: 9.738 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.117, allocations: 54.7 kB / 0.9115 GB, free: 9.672 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=133): time 3.897e-06/0.117, allocations: 3.938 kB / 0.9115 GB, free: 9.668 MB / 0.8698 GB Notification: Performance of matching and sorting (n=136): time 0.006301/0.1233, allocations: 3.745 MB / 0.9152 GB, free: 5.871 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.1233, allocations: 64.72 kB / 0.9152 GB, free: 5.793 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.1244, allocations: 1.331 MB / 0.9165 GB, free: 4.449 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.189e-05/0.1244, allocations: 45.7 kB / 0.9166 GB, free: 4.398 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001107/0.1255, allocations: 2.111 MB / 0.9186 GB, free: 2.27 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003095/0.1259, allocations: 0.5114 MB / 0.9191 GB, free: 1.754 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003238/0.1262, allocations: 353 kB / 0.9195 GB, free: 1.402 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.485e-05/0.1263, allocations: 480.7 kB / 0.9199 GB, free: 0.9297 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004868/0.1268, allocations: 319.8 kB / 0.9202 GB, free: 0.6172 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008806/0.1276, allocations: 1.294 MB / 0.9215 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001814/0.1295, allocations: 1.775 MB / 0.9232 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.1295, allocations: 4 kB / 0.9232 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.002906/0.1324, allocations: 2.186 MB / 0.9254 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.1324, allocations: 16 kB / 0.9254 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/0.1324, allocations: 20 kB / 0.9254 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001526/0.1339, allocations: 0.7031 MB / 0.9261 GB, free: 9.66 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000677/0.1346, allocations: 351.4 kB / 0.9264 GB, free: 9.316 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/0.1474, allocations: 23.79 MB / 0.9497 GB, free: 64 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.1485, allocations: 107.8 kB / 0.9498 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.1486, allocations: 88 kB / 0.9498 GB, free: 15.87 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.0008562/0.1495, allocations: 279.9 kB / 0.9501 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002265/0.1497, allocations: 246.7 kB / 0.9503 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002468/0.1522, allocations: 1.618 MB / 0.9519 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.1522, allocations: 12 kB / 0.9519 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.718e-05/0.1522, allocations: 15.98 kB / 0.952 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.1522, allocations: 3.984 kB / 0.952 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006135/0.1583, allocations: 4.787 MB / 0.9566 GB, free: 8.668 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.1583, allocations: 4 kB / 0.9566 GB, free: 8.664 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004342/0.1588, allocations: 179.7 kB / 0.9568 GB, free: 8.488 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001383/0.1601, allocations: 0.6524 MB / 0.9574 GB, free: 7.785 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.908e-05/0.1602, allocations: 24 kB / 0.9575 GB, free: 7.762 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01188/0.1721, allocations: 22.72 MB / 0.9797 GB, free: 15.55 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.1721, allocations: 8 kB / 0.9797 GB, free: 15.55 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002537/0.1746, allocations: 1.866 MB / 0.9815 GB, free: 13.54 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005506/0.1752, allocations: 358.6 kB / 0.9818 GB, free: 13.19 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.1753, allocations: 28 kB / 0.9819 GB, free: 13.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004059/0.1757, allocations: 71.91 kB / 0.9819 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002791/0.176, allocations: 136.6 kB / 0.9821 GB, free: 12.95 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.483e-05/0.1761, allocations: 36 kB / 0.9821 GB, free: 12.92 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006973/0.1768, allocations: 0.7497 MB / 0.9828 GB, free: 12.18 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.1768, allocations: 0 / 0.9828 GB, free: 12.18 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002056/0.1788, allocations: 0.7969 MB / 0.9836 GB, free: 11.38 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.0002014/0.179, allocations: 145.5 kB / 0.9837 GB, free: 11.23 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003226/0.1822, allocations: 3.517 MB / 0.9872 GB, free: 7.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.1822, allocations: 0 / 0.9872 GB, free: 7.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001907/0.1841, allocations: 2.85 MB / 0.99 GB, free: 4.438 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/0.1858, allocations: 0.7134 MB / 0.9907 GB, free: 3.75 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009301/0.1951, allocations: 6.561 MB / 0.9971 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/0.1961, allocations: 1.136 MB / 0.9982 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0008643/0.197, allocations: 381.2 kB / 0.9985 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.1972, allocations: 120.4 kB / 0.9986 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of SimCode: time 1.563e-06/0.1972, allocations: 0 / 0.9986 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of Templates: time 0.04892/0.2461, allocations: 38.3 MB / 1.036 GB, free: 5.84 MB / 0.9948 GB " [Timeout remaining time 300] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.791794651187956]