Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.0009132/0.0009132, 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.0008908/0.0008908, allocations: 169 kB / 23.27 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.8921/0.8921, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.207/2.207, allocations: 438.1 MB / 0.682 GB, free: 14.2 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.8898 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.333e-05/1.525e-05, allocations: 5.125 kB / 0.8898 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.01348/0.01349, allocations: 18.34 MB / 0.9077 GB, free: 7.34 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01047/0.02396, allocations: 9.419 MB / 0.9169 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001687/0.02565, allocations: 198.4 kB / 0.9171 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.02703, allocations: 0.7793 MB / 0.9178 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.003789/0.03082, allocations: 2.589 MB / 0.9204 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002282/0.03311, allocations: 1.587 MB / 0.9219 GB, free: 8.719 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0061/0.03921, allocations: 7.693 MB / 0.9294 GB, free: 0.9961 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004288/0.04349, allocations: 4.581 MB / 0.9339 GB, free: 12.29 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004818/0.04831, allocations: 4.904 MB / 0.9387 GB, free: 7.379 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002779/0.05109, allocations: 3.289 MB / 0.9419 GB, free: 4.082 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0005667/0.05166, allocations: 0.5898 MB / 0.9425 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008927/0.05255, allocations: 0.6833 MB / 0.9431 GB, free: 2.809 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.001515/0.05407, allocations: 2.545 MB / 0.9456 GB, free: 264 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.001545/0.05561, allocations: 2.011 MB / 0.9476 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.003279/0.05889, allocations: 4.838 MB / 0.9523 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.05889, allocations: 0 / 0.9523 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.042e-06/0.0589, allocations: 0 / 0.9523 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.568e-05/0.05895, allocations: 0 / 0.9523 GB, free: 9.391 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.004699/0.06365, allocations: 5.28 MB / 0.9575 GB, free: 4.031 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.06369, allocations: 12.62 kB / 0.9575 GB, free: 4.02 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002583/0.06627, allocations: 1.379 MB / 0.9588 GB, free: 2.637 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002609/0.06888, allocations: 2.738 MB / 0.9615 GB, free: 15.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/0.06902, allocations: 316.8 kB / 0.9618 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003864/0.06941, allocations: 436.3 kB / 0.9622 GB, free: 15.07 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003817/0.07322, allocations: 4.258 MB / 0.9664 GB, free: 10.31 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.079e-05/0.0733, allocations: 27.75 kB / 0.9664 GB, free: 10.28 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000244/0.07354, allocations: 184 kB / 0.9666 GB, free: 10.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003653/0.07391, allocations: 312.1 kB / 0.9669 GB, free: 9.793 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.07558, allocations: 1.293 MB / 0.9681 GB, free: 8.473 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01381/0.08939, allocations: 19.97 MB / 0.9876 GB, free: 3.91 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005638/0.08996, allocations: 497.2 kB / 0.9881 GB, free: 3.414 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004307/0.09039, allocations: 463.1 kB / 0.9886 GB, free: 2.953 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.321e-05/0.09045, allocations: 21.31 kB / 0.9886 GB, free: 2.93 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.09048, allocations: 58.69 kB / 0.9886 GB, free: 2.863 MB / 0.948 GB Notification: Performance of pre-optimization done (n=130): time 3.136e-06/0.09048, allocations: 0 / 0.9886 GB, free: 2.863 MB / 0.948 GB Notification: Performance of matching and sorting (n=199): time 0.008652/0.09914, allocations: 5.682 MB / 0.9942 GB, free: 13.12 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.09917, allocations: 73.41 kB / 0.9943 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.1005, allocations: 1.663 MB / 0.9959 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.633e-05/0.1006, allocations: 57.7 kB / 0.9959 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008778/0.1015, allocations: 2.148 MB / 0.998 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003718/0.1019, allocations: 0.7282 MB / 0.9987 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004155/0.1023, allocations: 422.2 kB / 0.9991 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.574e-05/0.1024, allocations: 480.7 kB / 0.9996 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004415/0.1028, allocations: 392.3 kB / 1 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008237/0.1037, allocations: 1.214 MB / 1.001 GB, free: 5.543 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.1053, allocations: 1.787 MB / 1.003 GB, free: 3.43 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.1053, allocations: 8 kB / 1.003 GB, free: 3.422 MB / 0.9636 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.00384/0.1091, allocations: 3.014 MB / 1.006 GB, free: 328 kB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.1091, allocations: 15.98 kB / 1.006 GB, free: 312 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.1092, allocations: 16 kB / 1.006 GB, free: 296 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003859/0.113, allocations: 1.688 MB / 1.008 GB, free: 14.52 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009202/0.1139, allocations: 339.5 kB / 1.008 GB, free: 14.19 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01712/0.1311, allocations: 35.07 MB / 1.042 GB, free: 9.055 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.1322, allocations: 71.98 kB / 1.042 GB, free: 8.984 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.1323, allocations: 68 kB / 1.042 GB, free: 8.918 MB / 1.01 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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%), (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 prepare postOptimizeDAE: time 0.0008592/0.1331, allocations: 300.5 kB / 1.043 GB, free: 8.613 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003287/0.1335, allocations: 334.3 kB / 1.043 GB, free: 8.285 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003735/0.1372, allocations: 2.649 MB / 1.045 GB, free: 5.539 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.1372, allocations: 20 kB / 1.045 GB, free: 5.52 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-05/0.1372, allocations: 16 kB / 1.045 GB, free: 5.504 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.1372, allocations: 11.95 kB / 1.045 GB, free: 5.492 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006852/0.1441, allocations: 5.033 MB / 1.05 GB, free: 236 kB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/0.1441, allocations: 8 kB / 1.05 GB, free: 228 kB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003629/0.1444, allocations: 175.7 kB / 1.051 GB, free: 52 kB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3528/0.4973, allocations: 1.584 MB / 1.052 GB, free: 155.8 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001792/0.4974, allocations: 44.75 kB / 1.052 GB, free: 155.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01172/0.5092, allocations: 34.94 MB / 1.086 GB, free: 125.4 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.5092, allocations: 9.719 kB / 1.086 GB, free: 125.4 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003994/0.5132, allocations: 2.8 MB / 1.089 GB, free: 124.4 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007177/0.5139, allocations: 477 kB / 1.089 GB, free: 124.3 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002133/0.5141, allocations: 38.34 kB / 1.09 GB, free: 124.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007482/0.5148, allocations: 39.41 kB / 1.09 GB, free: 124.3 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000473/0.5153, allocations: 199.4 kB / 1.09 GB, free: 124.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.992e-05/0.5154, allocations: 46.66 kB / 1.09 GB, free: 124.3 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0007588/0.5162, allocations: 0.906 MB / 1.091 GB, free: 124.1 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.5162, allocations: 0 / 1.091 GB, free: 124.1 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002571/0.5187, allocations: 1.051 MB / 1.092 GB, free: 124.1 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002244/0.519, allocations: 166.7 kB / 1.092 GB, free: 124 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004193/0.5232, allocations: 5.191 MB / 1.097 GB, free: 120.8 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.5232, allocations: 6.438 kB / 1.097 GB, free: 120.7 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002869/0.526, allocations: 4.419 MB / 1.101 GB, free: 117.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/0.5284, allocations: 0.9046 MB / 1.102 GB, free: 117.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00877/0.5371, allocations: 7.253 MB / 1.109 GB, free: 114.3 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001187/0.5383, allocations: 1.16 MB / 1.11 GB, free: 114.2 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0009336/0.5393, allocations: 313.1 kB / 1.111 GB, free: 114 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001455/0.5407, allocations: 0.7838 MB / 1.111 GB, free: 114 MB / 1.01 GB Notification: Performance of SimCode: time 8.52e-07/0.5407, allocations: 5.531 kB / 1.111 GB, free: 114 MB / 1.01 GB Notification: Performance of Templates: time 0.07184/0.6126, allocations: 64.63 MB / 1.175 GB, free: 95.8 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.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.432743095327169]