Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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.001009/0.001009, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009305/0.0009305, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9963/0.9963, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.152/2.152, allocations: 429.5 MB / 0.6743 GB, free: 3.906 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_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RLCLine_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_sc.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RLCLine_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_sc.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.8794 GB, free: 5.969 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.88e-05, allocations: 3.625 kB / 0.8794 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.02826/0.02829, allocations: 23.92 MB / 0.9028 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01279/0.04108, allocations: 7.541 MB / 0.9101 GB, free: 6.426 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004475/0.04555, allocations: 254.1 kB / 0.9104 GB, free: 6.176 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.003574/0.04913, allocations: 1.031 MB / 0.9114 GB, free: 5.137 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.006474/0.0556, allocations: 2.663 MB / 0.914 GB, free: 2.457 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005404/0.061, allocations: 2.632 MB / 0.9166 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.01285/0.07386, allocations: 11.5 MB / 0.9278 GB, free: 4.281 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01/0.08386, allocations: 6.582 MB / 0.9342 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01287/0.09673, allocations: 6.873 MB / 0.9409 GB, free: 6.688 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008776/0.1055, allocations: 5.429 MB / 0.9462 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.003236/0.1087, allocations: 0.9492 MB / 0.9472 GB, free: 304 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003966/0.1127, allocations: 1.043 MB / 0.9482 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.008316/0.121, allocations: 3.995 MB / 0.9521 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.008582/0.1296, allocations: 3.057 MB / 0.9551 GB, free: 8.188 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.01231/0.1419, allocations: 7.425 MB / 0.9623 GB, free: 0.7383 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 8.886e-06/0.1419, allocations: 4 kB / 0.9623 GB, free: 0.7344 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1419, allocations: 0 / 0.9623 GB, free: 0.7344 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0004361/0.1424, allocations: 4 kB / 0.9623 GB, free: 0.7305 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01564/0.158, allocations: 7.769 MB / 0.9699 GB, free: 8.879 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.158, allocations: 8.031 kB / 0.9699 GB, free: 8.871 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008018/0.1661, allocations: 2.153 MB / 0.972 GB, free: 6.711 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007729/0.1738, allocations: 3.919 MB / 0.9758 GB, free: 2.711 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003811/0.1742, allocations: 460.5 kB / 0.9763 GB, free: 2.258 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002001/0.1762, allocations: 0.6135 MB / 0.9769 GB, free: 1.645 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01368/0.1899, allocations: 6.488 MB / 0.9832 GB, free: 10.44 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002176/0.1901, allocations: 35.92 kB / 0.9833 GB, free: 10.41 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001384/0.1915, allocations: 264.3 kB / 0.9835 GB, free: 10.15 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001416/0.1929, allocations: 0.5974 MB / 0.9841 GB, free: 9.547 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007629/0.2005, allocations: 2.112 MB / 0.9862 GB, free: 7.406 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03921/0.2397, allocations: 29.87 MB / 1.015 GB, free: 8.758 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002639/0.2424, allocations: 1.933 MB / 1.017 GB, free: 6.812 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002157/0.2445, allocations: 1.322 MB / 1.019 GB, free: 5.484 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002515/0.2448, allocations: 62.78 kB / 1.019 GB, free: 5.422 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.54e-05/0.2448, allocations: 80.16 kB / 1.019 GB, free: 5.332 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=353): time 6.792e-06/0.2448, allocations: 0 / 1.019 GB, free: 5.332 MB / 0.9792 GB Notification: Performance of matching and sorting (n=578): time 0.07786/0.3227, allocations: 29.56 MB / 1.048 GB, free: 7.406 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/0.3228, allocations: 111.9 kB / 1.048 GB, free: 7.281 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002433/0.3252, allocations: 2.19 MB / 1.05 GB, free: 5.07 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001222/0.3264, allocations: 125.7 kB / 1.05 GB, free: 4.941 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001782/0.3282, allocations: 2.841 MB / 1.053 GB, free: 2.078 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.4175/0.7457, allocations: 2.109 MB / 1.055 GB, free: 167.8 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002362/0.7481, allocations: 0.9571 MB / 1.056 GB, free: 167.8 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 4.934e-05/0.7481, allocations: 476.8 kB / 1.056 GB, free: 167.3 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001744/0.7499, allocations: 1.031 MB / 1.057 GB, free: 167.3 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002438/0.7523, allocations: 2.339 MB / 1.059 GB, free: 166 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00537/0.7577, allocations: 4.033 MB / 1.063 GB, free: 164.7 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.842e-05/0.7577, allocations: 5.625 kB / 1.063 GB, free: 164.7 MB / 1.01 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.01921/0.7769, allocations: 8.282 MB / 1.071 GB, free: 164.1 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.556e-05/0.777, allocations: 14.91 kB / 1.071 GB, free: 164.1 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.433e-05/0.777, allocations: 23.34 kB / 1.071 GB, free: 164.1 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01996/0.797, allocations: 7.033 MB / 1.078 GB, free: 163.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001891/0.7989, allocations: 483.4 kB / 1.079 GB, free: 163.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04648/0.8453, allocations: 41.66 MB / 1.119 GB, free: 140.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003363/0.8487, allocations: 133.2 kB / 1.12 GB, free: 140.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008224/0.8495, allocations: 149 kB / 1.12 GB, free: 140.3 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002168/0.8517, allocations: 436.6 kB / 1.12 GB, free: 139.9 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001215/0.8529, allocations: 0.6416 MB / 1.121 GB, free: 139.6 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01837/0.8713, allocations: 8.112 MB / 1.129 GB, free: 137.6 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-05/0.8713, allocations: 55.47 kB / 1.129 GB, free: 137.6 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002169/0.8715, allocations: 76.41 kB / 1.129 GB, free: 137.6 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001039/0.8716, allocations: 27.56 kB / 1.129 GB, free: 137.6 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02627/0.8979, allocations: 12.48 MB / 1.141 GB, free: 133.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.88e-05/0.898, allocations: 15.66 kB / 1.141 GB, free: 133.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.899, allocations: 263.1 kB / 1.141 GB, free: 133.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01696/0.916, allocations: 6.544 MB / 1.148 GB, free: 132.8 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009543/0.9169, allocations: 106.5 kB / 1.148 GB, free: 132.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03613/0.9531, allocations: 41.32 MB / 1.188 GB, free: 100.2 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.9531, allocations: 8 kB / 1.188 GB, free: 100.1 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01999/0.9731, allocations: 8.895 MB / 1.197 GB, free: 92.13 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002552/0.9756, allocations: 1.081 MB / 1.198 GB, free: 91.05 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001026/0.9766, allocations: 111.8 kB / 1.198 GB, free: 90.95 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002325/0.979, allocations: 104 kB / 1.198 GB, free: 90.85 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001686/0.9806, allocations: 0.5546 MB / 1.199 GB, free: 90.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003452/0.981, allocations: 117.4 kB / 1.199 GB, free: 90.19 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001155/0.9821, allocations: 1.164 MB / 1.2 GB, free: 89.16 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9821, allocations: 0 / 1.2 GB, free: 89.16 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.006897/0.989, allocations: 2.469 MB / 1.202 GB, free: 86.69 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007675/0.9898, allocations: 240.2 kB / 1.203 GB, free: 86.46 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0131/1.003, allocations: 8.867 MB / 1.211 GB, free: 77.59 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.367e-05/1.003, allocations: 0 / 1.211 GB, free: 77.59 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.01035/1.013, allocations: 7.088 MB / 1.218 GB, free: 70.46 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004867/1.018, allocations: 1.274 MB / 1.219 GB, free: 69.25 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01823/1.036, allocations: 12.81 MB / 1.232 GB, free: 56.35 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003038/1.039, allocations: 2.166 MB / 1.234 GB, free: 54.15 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001654/1.041, allocations: 449.3 kB / 1.234 GB, free: 53.71 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001607/1.043, allocations: 1.033 MB / 1.235 GB, free: 52.67 MB / 1.01 GB Notification: Performance of SimCode: time 2.074e-06/1.043, allocations: 4 kB / 1.235 GB, free: 52.67 MB / 1.01 GB Notification: Performance of Templates: time 0.1765/1.219, allocations: 164.7 MB / 1.396 GB, free: 1.852 MB / 1.12 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.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: 9.703363477718085]