Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001271/0.001271, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001422/0.001422, allocations: 169 kB / 23.28 MB, free: 1.223 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.8972/0.8972, allocations: 177.1 MB / 203.7 MB, free: 5.5 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.261/2.261, 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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_3.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.|load_sc_3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_3.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.|load_sc_3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.8898 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.501e-05/2.675e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.01386/0.01389, allocations: 15.1 MB / 0.9045 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.007123/0.02101, allocations: 4.487 MB / 0.9089 GB, free: 6.078 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.02206, allocations: 154.8 kB / 0.909 GB, free: 5.926 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.02311, allocations: 0.6243 MB / 0.9097 GB, free: 5.297 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001858/0.02497, allocations: 1.464 MB / 0.9111 GB, free: 3.824 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002007/0.02697, allocations: 1.322 MB / 0.9124 GB, free: 2.5 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.004613/0.03159, allocations: 6.165 MB / 0.9184 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003476/0.03506, allocations: 3.773 MB / 0.9221 GB, free: 8.445 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003259/0.03832, allocations: 3.704 MB / 0.9257 GB, free: 4.734 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002904/0.04123, allocations: 2.864 MB / 0.9285 GB, free: 1.863 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0004845/0.04171, allocations: 0.5039 MB / 0.929 GB, free: 1.359 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007571/0.04247, allocations: 0.6052 MB / 0.9296 GB, free: 0.7539 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.001267/0.04374, allocations: 2.218 MB / 0.9317 GB, free: 14.53 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.001497/0.04523, allocations: 1.672 MB / 0.9334 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002732/0.04796, allocations: 4.106 MB / 0.9374 GB, free: 8.738 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.04797, allocations: 4 kB / 0.9374 GB, free: 8.734 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.553e-06/0.04797, allocations: 4 kB / 0.9374 GB, free: 8.73 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.586e-05/0.04801, allocations: 0 / 0.9374 GB, free: 8.73 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.003992/0.052, allocations: 4.373 MB / 0.9417 GB, free: 4.297 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.05203, allocations: 8.625 kB / 0.9417 GB, free: 4.289 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00194/0.05397, allocations: 1.102 MB / 0.9427 GB, free: 3.184 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002056/0.05603, allocations: 2.251 MB / 0.9449 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.05615, allocations: 271.7 kB / 0.9452 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004152/0.05657, allocations: 384.8 kB / 0.9456 GB, free: 244 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003427/0.05999, allocations: 3.729 MB / 0.9492 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.932e-05/0.06005, allocations: 27.75 kB / 0.9492 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002304/0.06028, allocations: 160 kB / 0.9494 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003044/0.06059, allocations: 270.9 kB / 0.9497 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.06209, allocations: 1.117 MB / 0.9507 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0124/0.07449, allocations: 18.88 MB / 0.9692 GB, free: 7.016 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004609/0.07495, allocations: 378.7 kB / 0.9695 GB, free: 6.633 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003509/0.0753, allocations: 350.4 kB / 0.9699 GB, free: 6.289 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.314e-05/0.07536, allocations: 17 kB / 0.9699 GB, free: 6.273 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.07539, allocations: 50.39 kB / 0.9699 GB, free: 6.215 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=110): time 3.316e-06/0.07539, allocations: 3.984 kB / 0.9699 GB, free: 6.211 MB / 0.9323 GB Notification: Performance of matching and sorting (n=131): time 0.006711/0.0821, allocations: 4.201 MB / 0.974 GB, free: 1.941 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.08213, allocations: 64.72 kB / 0.9741 GB, free: 1.863 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.08325, allocations: 1.292 MB / 0.9754 GB, free: 0.5547 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/0.08331, allocations: 45.7 kB / 0.9754 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007155/0.08403, allocations: 1.78 MB / 0.9771 GB, free: 14.71 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/0.08428, allocations: 499.8 kB / 0.9776 GB, free: 14.21 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003097/0.08459, allocations: 340.9 kB / 0.9779 GB, free: 13.88 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.0847, allocations: 484.7 kB / 0.9784 GB, free: 13.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/0.08499, allocations: 243.8 kB / 0.9786 GB, free: 13.16 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006236/0.08561, allocations: 1.026 MB / 0.9796 GB, free: 11.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.08663, allocations: 1.434 MB / 0.981 GB, free: 10.04 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/0.08664, allocations: 4 kB / 0.9811 GB, free: 10.04 MB / 0.948 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002298/0.08893, allocations: 1.797 MB / 0.9828 GB, free: 8.191 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.08895, allocations: 12 kB / 0.9828 GB, free: 8.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.08897, allocations: 20.34 kB / 0.9828 GB, free: 8.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/0.0902, allocations: 0.5981 MB / 0.9834 GB, free: 7.523 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000647/0.09085, allocations: 335.5 kB / 0.9837 GB, free: 7.195 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008024/0.09887, allocations: 16.85 MB / 1 GB, free: 5.309 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006354/0.09951, allocations: 48 kB / 1 GB, free: 5.262 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.581e-05/0.09958, allocations: 64.19 kB / 1 GB, free: 5.199 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006996/0.1003, allocations: 272 kB / 1.001 GB, free: 4.922 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.1005, allocations: 238.8 kB / 1.001 GB, free: 4.688 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001681/0.1022, allocations: 1.388 MB / 1.002 GB, free: 3.246 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.1022, allocations: 16 kB / 1.002 GB, free: 3.23 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1022, allocations: 4 kB / 1.002 GB, free: 3.227 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.1022, allocations: 7.969 kB / 1.002 GB, free: 3.219 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004293/0.1065, allocations: 3.27 MB / 1.005 GB, free: 15.78 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.1065, allocations: 11.88 kB / 1.005 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000444/0.1069, allocations: 183.7 kB / 1.006 GB, free: 15.59 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001106/0.108, allocations: 0.5636 MB / 1.006 GB, free: 14.99 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.787e-05/0.1081, allocations: 31.98 kB / 1.006 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006562/0.1147, allocations: 16.8 MB / 1.023 GB, free: 13.12 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.1147, allocations: 8 kB / 1.023 GB, free: 13.12 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001966/0.1166, allocations: 1.892 MB / 1.024 GB, free: 11.07 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004058/0.117, allocations: 326.6 kB / 1.025 GB, free: 10.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.1171, allocations: 35.95 kB / 1.025 GB, free: 10.72 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003472/0.1175, allocations: 31.94 kB / 1.025 GB, free: 10.69 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.1177, allocations: 120.7 kB / 1.025 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-05/0.1177, allocations: 28 kB / 1.025 GB, free: 10.54 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004542/0.1182, allocations: 0.6936 MB / 1.026 GB, free: 9.855 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.1182, allocations: 0 / 1.026 GB, free: 9.855 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001488/0.1197, allocations: 0.7031 MB / 1.026 GB, free: 9.152 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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 Backend phase and start with SimCode phase: time 0.0002249/0.1199, allocations: 143 kB / 1.026 GB, free: 9.004 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002177/0.1221, allocations: 2.737 MB / 1.029 GB, free: 6.105 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.1221, allocations: 0 / 1.029 GB, free: 6.105 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001325/0.1234, allocations: 2.197 MB / 1.031 GB, free: 3.75 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.1247, allocations: 0.6453 MB / 1.032 GB, free: 3.125 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005868/0.1306, allocations: 5.825 MB / 1.038 GB, free: 13.16 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007043/0.1313, allocations: 0.9324 MB / 1.038 GB, free: 12.2 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005278/0.1318, allocations: 240.7 kB / 1.039 GB, free: 11.96 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007965/0.1326, allocations: 0.5838 MB / 1.039 GB, free: 11.38 MB / 1.01 GB Notification: Performance of SimCode: time 8.61e-07/0.1326, allocations: 0 / 1.039 GB, free: 11.38 MB / 1.01 GB Notification: Performance of Templates: time 0.3683/0.5009, allocations: 36.59 MB / 1.075 GB, free: 166 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_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: 6.099281271919608]