Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.0009082/0.0009082, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.0009112/0.0009112, allocations: 165 kB / 23.02 MB, free: 1.543 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.9451/0.9451, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.098/2.098, allocations: 429.5 MB / 0.6732 GB, free: 3.992 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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.508e-05, allocations: 6.156 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004368/0.004393, allocations: 4.201 MB / 0.8823 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00242/0.006812, allocations: 1.533 MB / 0.8838 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003269/0.007139, allocations: 31.69 kB / 0.8838 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005027/0.007642, allocations: 175.9 kB / 0.884 GB, free: 368 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.00062/0.008262, allocations: 370.3 kB / 0.8843 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000595/0.008857, allocations: 339.2 kB / 0.8846 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0009123/0.009769, allocations: 0.998 MB / 0.8856 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004974/0.01027, allocations: 374.5 kB / 0.886 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006537/0.01092, allocations: 0.5182 MB / 0.8865 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004297/0.01135, allocations: 367 kB / 0.8868 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.165e-05/0.01141, allocations: 48 kB / 0.8869 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000259/0.01167, allocations: 131.8 kB / 0.887 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002094/0.01188, allocations: 267.2 kB / 0.8873 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.01208, allocations: 243.4 kB / 0.8875 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006369/0.01271, allocations: 0.5994 MB / 0.8881 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.01272, allocations: 0 / 0.8881 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.302e-06/0.01272, allocations: 0 / 0.8881 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.01273, allocations: 0 / 0.8881 GB, free: 12.13 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001084/0.01381, allocations: 0.9855 MB / 0.889 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.01385, allocations: 16.03 kB / 0.8891 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008751/0.01473, allocations: 295.8 kB / 0.8893 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005727/0.0153, allocations: 483 kB / 0.8898 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.01533, allocations: 41.36 kB / 0.8898 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.01545, allocations: 68.42 kB / 0.8899 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006875/0.01614, allocations: 0.7832 MB / 0.8907 GB, free: 9.273 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.01616, allocations: 4.125 kB / 0.8907 GB, free: 9.27 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.187e-05/0.0162, allocations: 32.11 kB / 0.8907 GB, free: 9.238 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001226/0.01632, allocations: 68.94 kB / 0.8908 GB, free: 9.168 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00041/0.01673, allocations: 281.5 kB / 0.891 GB, free: 8.895 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002611/0.01935, allocations: 4.414 MB / 0.8953 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.0196, allocations: 155.8 kB / 0.8955 GB, free: 4.152 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.01973, allocations: 96.22 kB / 0.8956 GB, free: 4.055 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.01975, allocations: 8.219 kB / 0.8956 GB, free: 4.047 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.01978, allocations: 45.66 kB / 0.8956 GB, free: 3.992 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=33): time 3.176e-06/0.01979, allocations: 3.984 kB / 0.8956 GB, free: 3.988 MB / 0.8542 GB Notification: Performance of matching and sorting (n=40): time 0.00261/0.0224, allocations: 1.54 MB / 0.8971 GB, free: 2.391 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.02242, allocations: 55.41 kB / 0.8972 GB, free: 2.324 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003532/0.02278, allocations: 462.4 kB / 0.8976 GB, free: 1.859 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.02281, allocations: 45.69 kB / 0.8977 GB, free: 1.809 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.02299, allocations: 395.2 kB / 0.8981 GB, free: 1.414 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.751e-05/0.02307, allocations: 154.7 kB / 0.8982 GB, free: 1.262 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.02319, allocations: 104 kB / 0.8983 GB, free: 1.152 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.02333, allocations: 0.5352 MB / 0.8988 GB, free: 0.6055 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.02349, allocations: 105.2 kB / 0.8989 GB, free: 0.5039 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.02374, allocations: 343.3 kB / 0.8993 GB, free: 64 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004522/0.02419, allocations: 490.1 kB / 0.8997 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.0242, allocations: 4 kB / 0.8997 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008597/0.02506, allocations: 0.633 MB / 0.9003 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.02507, allocations: 4 kB / 0.9003 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.02508, allocations: 8 kB / 0.9004 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006037/0.02569, allocations: 227 kB / 0.9006 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/0.02597, allocations: 111.9 kB / 0.9007 GB, free: 14.47 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002925/0.02889, allocations: 5.651 MB / 0.9062 GB, free: 8.453 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.02911, allocations: 27.97 kB / 0.9062 GB, free: 8.426 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.02914, allocations: 27.94 kB / 0.9063 GB, free: 8.398 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,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.0001591/0.0293, allocations: 192.5 kB / 0.9064 GB, free: 8.199 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-05/0.02937, allocations: 67.67 kB / 0.9065 GB, free: 8.133 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006985/0.03007, allocations: 0.4968 MB / 0.907 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.03007, allocations: 4 kB / 0.907 GB, free: 7.613 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.03008, allocations: 4 kB / 0.907 GB, free: 7.609 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.03008, allocations: 3.984 kB / 0.907 GB, free: 7.605 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.0313, allocations: 1.064 MB / 0.908 GB, free: 6.457 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.03131, allocations: 4.094 kB / 0.908 GB, free: 6.453 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.0315, allocations: 67.88 kB / 0.9081 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005147/0.03202, allocations: 215 kB / 0.9083 GB, free: 6.164 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.03205, allocations: 11.98 kB / 0.9083 GB, free: 6.152 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002743/0.03479, allocations: 5.643 MB / 0.9138 GB, free: 144 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.03479, allocations: 4 kB / 0.9138 GB, free: 140 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008907/0.03568, allocations: 0.7457 MB / 0.9146 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.03581, allocations: 87.62 kB / 0.9146 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.03585, allocations: 19.92 kB / 0.9147 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.03601, allocations: 23.97 kB / 0.9147 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.716e-05/0.03609, allocations: 31.94 kB / 0.9147 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.03611, allocations: 16.03 kB / 0.9147 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001911/0.0363, allocations: 298.8 kB / 0.915 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.0363, allocations: 0 / 0.915 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000508/0.03681, allocations: 168 kB / 0.9152 GB, free: 14.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001352/0.03694, allocations: 115.1 kB / 0.9153 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009291/0.03787, allocations: 0.9243 MB / 0.9162 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.03788, allocations: 0 / 0.9162 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004948/0.03837, allocations: 0.7362 MB / 0.9169 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005314/0.0389, allocations: 178.5 kB / 0.9171 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.04045, allocations: 1.153 MB / 0.9182 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.04058, allocations: 182.5 kB / 0.9184 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002022/0.04078, allocations: 96.78 kB / 0.9185 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.04086, allocations: 36.5 kB / 0.9185 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of SimCode: time 1.042e-06/0.04086, allocations: 4 kB / 0.9185 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of Templates: time 0.01133/0.05219, allocations: 9.199 MB / 0.9275 GB, free: 2.09 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.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.336493882350624]