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.001342/0.001342, allocations: 85.91 kB / 19.87 MB, free: 4.625 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.001454/0.001454, allocations: 169.7 kB / 23.27 MB, free: 1.23 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.9273/0.9273, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.297/2.297, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 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.944e-06/1.944e-06, allocations: 0 / 0.8898 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.998e-05/3.192e-05, allocations: 6.312 kB / 0.8898 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.0267/0.02673, allocations: 23.91 MB / 0.9131 GB, free: 1.73 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01251/0.03924, allocations: 7.541 MB / 0.9205 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003949/0.04319, allocations: 250.1 kB / 0.9207 GB, free: 9.922 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.002965/0.04616, allocations: 1.039 MB / 0.9217 GB, free: 8.875 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.005698/0.05185, allocations: 2.659 MB / 0.9243 GB, free: 6.199 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.005079/0.05693, allocations: 2.632 MB / 0.9269 GB, free: 3.562 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.01171/0.06864, allocations: 11.51 MB / 0.9381 GB, free: 8.016 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009381/0.07802, allocations: 6.563 MB / 0.9446 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01109/0.08911, allocations: 6.877 MB / 0.9513 GB, free: 10.44 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007525/0.09664, allocations: 5.433 MB / 0.9566 GB, free: 4.992 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.003132/0.09977, allocations: 0.9453 MB / 0.9575 GB, free: 4.043 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004015/0.1038, allocations: 1.047 MB / 0.9585 GB, free: 2.996 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.005089/0.1089, allocations: 3.995 MB / 0.9624 GB, free: 14.99 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.006369/0.1152, allocations: 3.045 MB / 0.9654 GB, free: 11.94 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.01029/0.1255, allocations: 7.444 MB / 0.9727 GB, free: 4.477 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.1255, allocations: 0 / 0.9727 GB, free: 4.477 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.552e-06/0.1255, allocations: 0 / 0.9727 GB, free: 4.477 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0004183/0.126, allocations: 0 / 0.9727 GB, free: 4.477 MB / 0.9323 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.01072/0.1367, allocations: 7.765 MB / 0.9802 GB, free: 12.63 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.1367, allocations: 12.62 kB / 0.9803 GB, free: 12.62 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005171/0.1419, allocations: 2.157 MB / 0.9824 GB, free: 10.46 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006129/0.148, allocations: 3.919 MB / 0.9862 GB, free: 6.453 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000279/0.1483, allocations: 460.5 kB / 0.9866 GB, free: 6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001289/0.1496, allocations: 0.6096 MB / 0.9872 GB, free: 5.391 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01063/0.1602, allocations: 6.495 MB / 0.9936 GB, free: 14.18 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001579/0.1604, allocations: 24.02 kB / 0.9936 GB, free: 14.16 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006993/0.1611, allocations: 260.3 kB / 0.9938 GB, free: 13.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00116/0.1622, allocations: 0.6052 MB / 0.9944 GB, free: 13.29 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004266/0.1665, allocations: 2.12 MB / 0.9965 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03104/0.1976, allocations: 29.87 MB / 1.026 GB, free: 12.51 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002179/0.1997, allocations: 1.916 MB / 1.028 GB, free: 10.58 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001485/0.2012, allocations: 1.338 MB / 1.029 GB, free: 9.227 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001873/0.2014, allocations: 58.78 kB / 1.029 GB, free: 9.168 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.329e-05/0.2015, allocations: 76.17 kB / 1.029 GB, free: 9.082 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=353): time 6.412e-06/0.2015, allocations: 0 / 1.029 GB, free: 9.082 MB / 0.9948 GB Notification: Performance of matching and sorting (n=578): time 0.4611/0.6626, allocations: 29.57 MB / 1.058 GB, free: 158.6 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.6627, allocations: 112.8 kB / 1.058 GB, free: 158.6 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002391/0.665, allocations: 2.198 MB / 1.06 GB, free: 158.2 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0007494/0.6658, allocations: 119.1 kB / 1.06 GB, free: 158.2 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.00128/0.6671, allocations: 2.841 MB / 1.063 GB, free: 157.5 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001585/0.6687, allocations: 2.106 MB / 1.065 GB, free: 156.4 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001456/0.6701, allocations: 0.9615 MB / 1.066 GB, free: 156.3 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 4.895e-05/0.6702, allocations: 480.7 kB / 1.066 GB, free: 155.9 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001669/0.6718, allocations: 1.029 MB / 1.067 GB, free: 155.8 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002245/0.6741, allocations: 2.339 MB / 1.07 GB, free: 154.6 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004602/0.6787, allocations: 4.034 MB / 1.074 GB, free: 153.2 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.533e-05/0.6787, allocations: 5.469 kB / 1.074 GB, free: 153.2 MB / 1.01 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.01815/0.6969, allocations: 8.277 MB / 1.082 GB, free: 152.2 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.562e-05/0.6969, allocations: 14.34 kB / 1.082 GB, free: 152.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.526e-05/0.697, allocations: 29.72 kB / 1.082 GB, free: 152.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02253/0.7195, allocations: 7.019 MB / 1.089 GB, free: 151.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001868/0.7214, allocations: 483 kB / 1.089 GB, free: 151.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04354/0.7649, allocations: 41.72 MB / 1.13 GB, free: 126.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003047/0.7679, allocations: 131.4 kB / 1.13 GB, free: 126.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003911/0.7683, allocations: 144.8 kB / 1.13 GB, free: 126.6 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.00171/0.77, allocations: 441.5 kB / 1.131 GB, free: 126.3 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001205/0.7712, allocations: 0.6409 MB / 1.131 GB, free: 126 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01575/0.787, allocations: 8.116 MB / 1.139 GB, free: 123.9 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-05/0.787, allocations: 63.12 kB / 1.139 GB, free: 123.9 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001819/0.7872, allocations: 71.44 kB / 1.139 GB, free: 123.9 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.563e-05/0.7873, allocations: 25.59 kB / 1.139 GB, free: 123.9 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02246/0.8098, allocations: 12.49 MB / 1.151 GB, free: 120 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.913e-05/0.8098, allocations: 7.531 kB / 1.151 GB, free: 120 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009325/0.8107, allocations: 273.6 kB / 1.152 GB, free: 120 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01486/0.8256, allocations: 6.547 MB / 1.158 GB, free: 119.1 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007704/0.8263, allocations: 101.5 kB / 1.158 GB, free: 119 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03195/0.8583, allocations: 41.38 MB / 1.199 GB, free: 80.61 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.8583, allocations: 11.75 kB / 1.199 GB, free: 80.6 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01463/0.8729, allocations: 8.894 MB / 1.207 GB, free: 71.71 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003048/0.876, allocations: 1.065 MB / 1.208 GB, free: 70.64 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009005/0.8769, allocations: 108 kB / 1.208 GB, free: 70.54 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002313/0.8792, allocations: 104 kB / 1.209 GB, free: 70.43 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002115/0.8813, allocations: 0.5605 MB / 1.209 GB, free: 69.87 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000335/0.8816, allocations: 108 kB / 1.209 GB, free: 69.76 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.00143/0.8831, allocations: 1.162 MB / 1.21 GB, free: 68.73 MB / 1.01 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8831, allocations: 0 / 1.21 GB, free: 68.73 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.009896/0.893, allocations: 2.469 MB / 1.213 GB, free: 66.26 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.001541/0.8945, allocations: 236.5 kB / 1.213 GB, free: 66.03 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01357/0.9081, allocations: 8.89 MB / 1.222 GB, free: 57.05 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/0.9081, allocations: 0 / 1.222 GB, free: 57.05 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.008501/0.9166, allocations: 7.087 MB / 1.229 GB, free: 49.89 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004561/0.9212, allocations: 1.265 MB / 1.23 GB, free: 48.7 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02044/0.9416, allocations: 12.81 MB / 1.242 GB, free: 35.77 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003488/0.9451, allocations: 2.166 MB / 1.244 GB, free: 33.56 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002049/0.9471, allocations: 457.2 kB / 1.245 GB, free: 33.11 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001502/0.9486, allocations: 1.033 MB / 1.246 GB, free: 32.08 MB / 1.01 GB Notification: Performance of SimCode: time 1.833e-06/0.9486, allocations: 0 / 1.246 GB, free: 32.08 MB / 1.01 GB Notification: Performance of Templates: time 0.1835/1.132, allocations: 161.7 MB / 1.404 GB, free: 340 kB / 1.135 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: 8.721730121877044]