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.00135/0.00135, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001498/0.001498, allocations: 177 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.91/0.91, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.43/2.43, allocations: 438.8 MB / 0.6826 GB, free: 13.61 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_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.292e-06/1.292e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.919e-05/2.048e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.01732/0.01734, allocations: 23.9 MB / 0.862 GB, free: 6.168 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01261/0.02994, allocations: 7.765 MB / 0.8695 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002645/0.03259, allocations: 246.1 kB / 0.8698 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.002035/0.03462, allocations: 1.035 MB / 0.8708 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.00443/0.03905, allocations: 2.671 MB / 0.8734 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.004353/0.04341, allocations: 2.675 MB / 0.876 GB, free: 7.727 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.01093/0.05434, allocations: 11.51 MB / 0.8873 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00844/0.06278, allocations: 6.949 MB / 0.894 GB, free: 5.078 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008352/0.07113, allocations: 6.877 MB / 0.9008 GB, free: 14.19 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006487/0.07762, allocations: 5.238 MB / 0.9059 GB, free: 8.938 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.002088/0.07971, allocations: 0.9453 MB / 0.9068 GB, free: 7.992 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002207/0.08191, allocations: 1.043 MB / 0.9078 GB, free: 6.949 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.004188/0.0861, allocations: 4.003 MB / 0.9117 GB, free: 2.938 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.004622/0.09072, allocations: 3.041 MB / 0.9147 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.008583/0.0993, allocations: 7.444 MB / 0.922 GB, free: 8.426 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.09931, allocations: 0 / 0.922 GB, free: 8.426 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.814e-06/0.09931, allocations: 0 / 0.922 GB, free: 8.426 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003651/0.09968, allocations: 0 / 0.922 GB, free: 8.426 MB / 0.8855 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.01292/0.1126, allocations: 7.179 MB / 0.929 GB, free: 1.18 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.1126, allocations: 8.625 kB / 0.929 GB, free: 1.172 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007104/0.1197, allocations: 2.02 MB / 0.931 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007188/0.1269, allocations: 3.41 MB / 0.9343 GB, free: 11.65 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003526/0.1273, allocations: 456.5 kB / 0.9347 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001297/0.1286, allocations: 0.6174 MB / 0.9353 GB, free: 10.58 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009494/0.1381, allocations: 6.331 MB / 0.9415 GB, free: 3.652 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001571/0.1382, allocations: 24.02 kB / 0.9415 GB, free: 3.629 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006323/0.1389, allocations: 264.3 kB / 0.9418 GB, free: 3.371 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00148/0.1403, allocations: 0.6091 MB / 0.9424 GB, free: 2.758 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004839/0.1452, allocations: 1.816 MB / 0.9441 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02867/0.1739, allocations: 23.12 MB / 0.9667 GB, free: 9.133 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002321/0.1762, allocations: 1.874 MB / 0.9686 GB, free: 7.246 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/0.1776, allocations: 1.171 MB / 0.9697 GB, free: 6.07 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002087/0.1778, allocations: 58.78 kB / 0.9698 GB, free: 6.012 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.538e-05/0.1779, allocations: 73.34 kB / 0.9698 GB, free: 5.93 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=353): time 8.456e-06/0.1779, allocations: 3.984 kB / 0.9698 GB, free: 5.926 MB / 0.9323 GB Notification: Performance of matching and sorting (n=356): time 0.0673/0.2452, allocations: 25.11 MB / 0.9944 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.2453, allocations: 86.2 kB / 0.9944 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/0.2471, allocations: 2.053 MB / 0.9964 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002181/0.2474, allocations: 89.7 kB / 0.9965 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009229/0.2483, allocations: 2.289 MB / 0.9988 GB, free: 8.035 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007106/0.249, allocations: 1.278 MB / 1 GB, free: 6.746 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007084/0.2497, allocations: 0.6027 MB / 1.001 GB, free: 6.137 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.81e-05/0.2498, allocations: 309.1 kB / 1.001 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007581/0.2505, allocations: 0.5556 MB / 1.001 GB, free: 5.273 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.2519, allocations: 1.318 MB / 1.003 GB, free: 3.652 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002104/0.254, allocations: 2.248 MB / 1.005 GB, free: 1.066 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/0.254, allocations: 4 kB / 1.005 GB, free: 1.062 MB / 0.9636 GB Notification: Performance of matching and sorting (n=491) (initialization): time 0.007272/0.2613, allocations: 4.263 MB / 1.009 GB, free: 12.73 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.2613, allocations: 18.34 kB / 1.009 GB, free: 12.72 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.356e-05/0.2613, allocations: 20 kB / 1.009 GB, free: 12.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008228/0.2695, allocations: 3.555 MB / 1.013 GB, free: 9.102 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.2708, allocations: 463.2 kB / 1.013 GB, free: 8.648 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02114/0.292, allocations: 20.05 MB / 1.033 GB, free: 3.816 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/0.2943, allocations: 100 kB / 1.033 GB, free: 3.719 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004822/0.2947, allocations: 108 kB / 1.033 GB, free: 3.613 MB / 0.9948 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 (259): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,51.0%), (7,71,71.4%), (6,40,83.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001779/0.2965, allocations: 327.8 kB / 1.033 GB, free: 3.281 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000728/0.2972, allocations: 367.6 kB / 1.033 GB, free: 2.922 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006738/0.304, allocations: 4.045 MB / 1.037 GB, free: 14.8 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.935e-05/0.304, allocations: 39.94 kB / 1.037 GB, free: 14.76 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.001e-05/0.3041, allocations: 39.94 kB / 1.038 GB, free: 14.72 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.99e-05/0.3041, allocations: 15.94 kB / 1.038 GB, free: 14.71 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/0.3156, allocations: 6.711 MB / 1.044 GB, free: 7.84 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.3156, allocations: 8.562 kB / 1.044 GB, free: 7.832 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007385/0.3163, allocations: 247.6 kB / 1.044 GB, free: 7.59 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007893/0.3242, allocations: 3.489 MB / 1.048 GB, free: 4.07 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004627/0.3247, allocations: 64 kB / 1.048 GB, free: 4.008 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4003/0.725, allocations: 20.02 MB / 1.067 GB, free: 166.1 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.725, allocations: 9.891 kB / 1.067 GB, free: 166.1 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008869/0.7338, allocations: 4.758 MB / 1.072 GB, free: 165.3 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/0.7351, allocations: 0.6344 MB / 1.073 GB, free: 165.3 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000368/0.7354, allocations: 72.47 kB / 1.073 GB, free: 165.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008801/0.7363, allocations: 70.75 kB / 1.073 GB, free: 165.3 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008889/0.7372, allocations: 334.9 kB / 1.073 GB, free: 165.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001558/0.7373, allocations: 71.09 kB / 1.073 GB, free: 165.3 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001009/0.7384, allocations: 1.038 MB / 1.074 GB, free: 165.2 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.7384, allocations: 0 / 1.074 GB, free: 165.2 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003535/0.7419, allocations: 1.783 MB / 1.076 GB, free: 165.2 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (127): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (1,1,100.0%), (6,40,77.8%), (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.0003515/0.7422, allocations: 175.9 kB / 1.076 GB, free: 165.1 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00583/0.7481, allocations: 4.641 MB / 1.081 GB, free: 163.8 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-05/0.7481, allocations: 37.25 kB / 1.081 GB, free: 163.8 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.004127/0.7523, allocations: 3.624 MB / 1.084 GB, free: 162.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003268/0.7555, allocations: 1.564 MB / 1.086 GB, free: 162.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/0.7664, allocations: 10.42 MB / 1.096 GB, free: 158.4 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001478/0.7679, allocations: 1.72 MB / 1.098 GB, free: 158.2 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001174/0.7691, allocations: 429.2 kB / 1.098 GB, free: 158.1 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001508/0.7706, allocations: 0.8926 MB / 1.099 GB, free: 158 MB / 1.01 GB Notification: Performance of SimCode: time 1.563e-06/0.7706, allocations: 0 / 1.099 GB, free: 158 MB / 1.01 GB Notification: Performance of Templates: time 0.1035/0.8741, allocations: 103.5 MB / 1.2 GB, free: 72.18 MB / 1.01 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: 7.772967388853431]