Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.0009598/0.0009598, allocations: 92.22 kB / 19.65 MB, free: 280 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.001158/0.001158, allocations: 165 kB / 23.02 MB, free: 1.551 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.9705/0.9705, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.09/2.09, allocations: 429.5 MB / 0.6732 GB, free: 4.039 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.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.258e-05/1.392e-05, allocations: 2.812 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01044/0.01046, allocations: 13.38 MB / 0.8913 GB, free: 8.879 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004395/0.01485, allocations: 3.867 MB / 0.895 GB, free: 5.027 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005093/0.01536, allocations: 123.1 kB / 0.8952 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006765/0.01604, allocations: 0.5391 MB / 0.8957 GB, free: 4.363 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.01741, allocations: 1.508 MB / 0.8972 GB, free: 2.848 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.01846, allocations: 1.104 MB / 0.8982 GB, free: 1.742 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003549/0.02201, allocations: 5.958 MB / 0.904 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002635/0.02464, allocations: 3.163 MB / 0.9071 GB, free: 8.516 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002639/0.02728, allocations: 3.423 MB / 0.9105 GB, free: 5.086 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002146/0.02943, allocations: 2.884 MB / 0.9133 GB, free: 2.195 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003903/0.02982, allocations: 456 kB / 0.9137 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007017/0.03052, allocations: 0.5973 MB / 0.9143 GB, free: 1.152 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.001442/0.03196, allocations: 2.214 MB / 0.9165 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.03309, allocations: 1.52 MB / 0.918 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.002693/0.03578, allocations: 3.888 MB / 0.9218 GB, free: 9.512 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.03579, allocations: 4 kB / 0.9218 GB, free: 9.508 MB / 0.8855 GB Notification: Performance of FrontEnd: time 6.92e-07/0.03579, allocations: 3.938 kB / 0.9218 GB, free: 9.504 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.271e-05/0.03582, allocations: 4 kB / 0.9218 GB, free: 9.5 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.003945/0.03977, allocations: 4.016 MB / 0.9257 GB, free: 5.43 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.03981, allocations: 8.031 kB / 0.9257 GB, free: 5.422 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003443/0.04325, allocations: 1.656 MB / 0.9273 GB, free: 3.762 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002522/0.04577, allocations: 2.222 MB / 0.9295 GB, free: 1.492 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.04589, allocations: 246.2 kB / 0.9297 GB, free: 1.25 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003408/0.04623, allocations: 323.9 kB / 0.93 GB, free: 0.9336 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003861/0.05009, allocations: 3.598 MB / 0.9335 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.165e-05/0.05015, allocations: 15.89 kB / 0.9336 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002215/0.05037, allocations: 139.9 kB / 0.9337 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003108/0.05068, allocations: 410.3 kB / 0.9341 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002378/0.05306, allocations: 1.357 MB / 0.9354 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01415/0.06721, allocations: 19.96 MB / 0.9549 GB, free: 6.457 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006788/0.06789, allocations: 483.1 kB / 0.9554 GB, free: 5.973 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006429/0.06853, allocations: 0.5142 MB / 0.9559 GB, free: 5.457 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.287e-05/0.0686, allocations: 21 kB / 0.9559 GB, free: 5.434 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.06863, allocations: 46.39 kB / 0.9559 GB, free: 5.379 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=110): time 2.375e-06/0.06863, allocations: 0 / 0.9559 GB, free: 5.379 MB / 0.9167 GB Notification: Performance of matching and sorting (n=179): time 0.01739/0.08602, allocations: 9.547 MB / 0.9653 GB, free: 11.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.08606, allocations: 73.41 kB / 0.9653 GB, free: 11.72 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009776/0.08704, allocations: 1.246 MB / 0.9665 GB, free: 10.45 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.08714, allocations: 49.7 kB / 0.9666 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006626/0.0878, allocations: 1.64 MB / 0.9682 GB, free: 8.738 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003832/0.08818, allocations: 0.6546 MB / 0.9688 GB, free: 8.078 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004485/0.08863, allocations: 365.2 kB / 0.9692 GB, free: 7.711 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.436e-05/0.08873, allocations: 484.6 kB / 0.9696 GB, free: 7.234 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007981/0.08953, allocations: 0.4959 MB / 0.9701 GB, free: 6.734 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/0.09081, allocations: 1.301 MB / 0.9714 GB, free: 5.09 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002023/0.09284, allocations: 1.983 MB / 0.9733 GB, free: 2.777 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.09284, allocations: 4 kB / 0.9733 GB, free: 2.773 MB / 0.9323 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.008214/0.1011, allocations: 4.799 MB / 0.978 GB, free: 13.93 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.1011, allocations: 12 kB / 0.978 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.1011, allocations: 20 kB / 0.9781 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007578/0.1087, allocations: 3.246 MB / 0.9812 GB, free: 10.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000613/0.1093, allocations: 303.4 kB / 0.9815 GB, free: 10.34 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01856/0.1279, allocations: 18.42 MB / 0.9995 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000972/0.1288, allocations: 147.8 kB / 0.9996 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.1289, allocations: 84 kB / 0.9997 GB, free: 6.969 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007495/0.1297, allocations: 284 kB / 1 GB, free: 6.68 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002717/0.13, allocations: 254.7 kB / 1 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007761/0.1377, allocations: 4.613 MB / 1.005 GB, free: 1.766 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.1377, allocations: 23.94 kB / 1.005 GB, free: 1.742 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.85e-05/0.1378, allocations: 24 kB / 1.005 GB, free: 1.719 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.1378, allocations: 7.969 kB / 1.005 GB, free: 1.711 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01144/0.1492, allocations: 7.659 MB / 1.012 GB, free: 9.859 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.473e-06/0.1492, allocations: 4 kB / 1.012 GB, free: 9.855 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003501/0.1496, allocations: 163.8 kB / 1.012 GB, free: 9.695 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007589/0.1572, allocations: 3.138 MB / 1.015 GB, free: 6.539 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.1573, allocations: 40 kB / 1.016 GB, free: 6.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0182/0.1755, allocations: 18.35 MB / 1.033 GB, free: 3.406 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.1755, allocations: 11.94 kB / 1.033 GB, free: 3.395 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007853/0.1833, allocations: 4.708 MB / 1.038 GB, free: 14.52 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000786/0.1841, allocations: 0.4946 MB / 1.039 GB, free: 14.02 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/0.1843, allocations: 47.98 kB / 1.039 GB, free: 13.97 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006549/0.1849, allocations: 131.8 kB / 1.039 GB, free: 13.84 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004543/0.1854, allocations: 184.7 kB / 1.039 GB, free: 13.66 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.226e-05/0.1855, allocations: 52 kB / 1.039 GB, free: 13.61 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006402/0.1861, allocations: 0.7141 MB / 1.04 GB, free: 12.9 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.1861, allocations: 0 / 1.04 GB, free: 12.9 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002317/0.1884, allocations: 1.113 MB / 1.041 GB, free: 11.79 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002097/0.1886, allocations: 147.1 kB / 1.041 GB, free: 11.63 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.005667/0.1943, allocations: 4.244 MB / 1.045 GB, free: 7.281 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/0.1943, allocations: 4.875 kB / 1.045 GB, free: 7.277 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.004146/0.1985, allocations: 3.359 MB / 1.048 GB, free: 3.809 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.1998, allocations: 0.5158 MB / 1.049 GB, free: 3.305 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3312/0.531, allocations: 5.984 MB / 1.055 GB, free: 181.6 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008125/0.5318, allocations: 1.002 MB / 1.056 GB, free: 181.4 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006351/0.5325, allocations: 318.1 kB / 1.056 GB, free: 181.4 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.5326, allocations: 90.66 kB / 1.056 GB, free: 181.4 MB / 1.01 GB Notification: Performance of SimCode: time 1.001e-06/0.5326, allocations: 1.156 kB / 1.056 GB, free: 181.4 MB / 1.01 GB Notification: Performance of Templates: time 0.06326/0.5959, allocations: 65.42 MB / 1.12 GB, free: 165.8 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.772343416232616]