Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.001439/0.001439, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001659/0.001659, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9414/0.9414, allocations: 177.1 MB / 204.2 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.845/1.845, allocations: 377.8 MB / 0.6236 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.446e-05, allocations: 3.312 kB / 0.8116 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.005961/0.005985, allocations: 6.679 MB / 0.8181 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003456/0.009441, allocations: 2.218 MB / 0.8202 GB, free: 8.805 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005349/0.009976, allocations: 48.34 kB / 0.8203 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006813/0.01066, allocations: 263.5 kB / 0.8205 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.01169, allocations: 0.7048 MB / 0.8212 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.01271, allocations: 0.6604 MB / 0.8219 GB, free: 7.141 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002414/0.01513, allocations: 3.007 MB / 0.8248 GB, free: 4.125 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.01671, allocations: 1.421 MB / 0.8262 GB, free: 2.664 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001756/0.01846, allocations: 1.728 MB / 0.8279 GB, free: 0.9336 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001751/0.02021, allocations: 1.633 MB / 0.8295 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0003956/0.02061, allocations: 236.7 kB / 0.8297 GB, free: 15.07 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000539/0.02115, allocations: 323.8 kB / 0.83 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0007287/0.02188, allocations: 1.167 MB / 0.8312 GB, free: 13.59 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.000877/0.02275, allocations: 0.7836 MB / 0.8319 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001773/0.02453, allocations: 2.146 MB / 0.834 GB, free: 10.65 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.02453, allocations: 0 / 0.834 GB, free: 10.65 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.212e-06/0.02453, allocations: 0 / 0.834 GB, free: 10.65 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.44e-05/0.0246, allocations: 0.875 kB / 0.834 GB, free: 10.65 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.002665/0.02726, allocations: 2.261 MB / 0.8362 GB, free: 8.344 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.0273, allocations: 17.28 kB / 0.8362 GB, free: 8.328 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004596/0.0319, allocations: 1.644 MB / 0.8378 GB, free: 6.691 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.03335, allocations: 1.162 MB / 0.839 GB, free: 5.504 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.228e-05/0.03342, allocations: 115.3 kB / 0.8391 GB, free: 5.391 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002129/0.03363, allocations: 148.3 kB / 0.8392 GB, free: 5.246 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002443/0.03607, allocations: 1.83 MB / 0.841 GB, free: 3.27 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.957e-05/0.0361, allocations: 192 / 0.841 GB, free: 3.27 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/0.03625, allocations: 68.34 kB / 0.8411 GB, free: 3.203 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001764/0.03642, allocations: 207.7 kB / 0.8413 GB, free: 3 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.03816, allocations: 0.8597 MB / 0.8421 GB, free: 2.137 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008786/0.04695, allocations: 8.963 MB / 0.8509 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.04797, allocations: 0.6427 MB / 0.8515 GB, free: 8.305 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007221/0.04869, allocations: 470.1 kB / 0.852 GB, free: 7.844 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.932e-05/0.04876, allocations: 17 kB / 0.852 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.04879, allocations: 50.33 kB / 0.852 GB, free: 7.766 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=104): time 2.885e-06/0.04879, allocations: 0 / 0.852 GB, free: 7.766 MB / 0.8073 GB Notification: Performance of matching and sorting (n=183): time 0.01866/0.06745, allocations: 9.428 MB / 0.8612 GB, free: 14.32 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.06749, allocations: 81.33 kB / 0.8613 GB, free: 14.23 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008058/0.0683, allocations: 0.8935 MB / 0.8622 GB, free: 13.32 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001304/0.06843, allocations: 53.7 kB / 0.8622 GB, free: 13.26 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004013/0.06883, allocations: 0.8666 MB / 0.8631 GB, free: 12.38 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004474/0.06928, allocations: 0.678 MB / 0.8637 GB, free: 11.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004819/0.06976, allocations: 357.1 kB / 0.8641 GB, free: 11.34 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.06986, allocations: 476.8 kB / 0.8645 GB, free: 10.87 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008481/0.07071, allocations: 471.7 kB / 0.865 GB, free: 10.41 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.07178, allocations: 0.9732 MB / 0.8659 GB, free: 9.266 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/0.07369, allocations: 1.541 MB / 0.8674 GB, free: 7.559 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.0737, allocations: 4 kB / 0.8674 GB, free: 7.555 MB / 0.823 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.009241/0.08294, allocations: 4.754 MB / 0.8721 GB, free: 2.77 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.08297, allocations: 8 kB / 0.8721 GB, free: 2.762 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.08298, allocations: 8.656 kB / 0.8721 GB, free: 2.754 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009246/0.09223, allocations: 3.604 MB / 0.8756 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005513/0.09278, allocations: 195.7 kB / 0.8758 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02274/0.1155, allocations: 19.37 MB / 0.8947 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.1167, allocations: 99.89 kB / 0.8948 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.1168, allocations: 67.94 kB / 0.8949 GB, free: 10.93 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005298/0.1174, allocations: 256.3 kB / 0.8951 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002779/0.1176, allocations: 203.1 kB / 0.8953 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009168/0.1268, allocations: 4.728 MB / 0.8999 GB, free: 5.703 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.1268, allocations: 16 kB / 0.8999 GB, free: 5.688 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.6e-05/0.1269, allocations: 36 kB / 0.9 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/0.1269, allocations: 7.969 kB / 0.9 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/0.1394, allocations: 7.179 MB / 0.907 GB, free: 14.33 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/0.1394, allocations: 4 kB / 0.907 GB, free: 14.33 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/0.1397, allocations: 119.8 kB / 0.9071 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008851/0.1485, allocations: 3.494 MB / 0.9105 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001492/0.1487, allocations: 28 kB / 0.9106 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02201/0.1707, allocations: 17.85 MB / 0.928 GB, free: 8.332 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.1707, allocations: 7.938 kB / 0.928 GB, free: 8.324 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009608/0.1803, allocations: 4.687 MB / 0.9326 GB, free: 3.527 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/0.1815, allocations: 0.5028 MB / 0.9331 GB, free: 3.023 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002037/0.1817, allocations: 36 kB / 0.9331 GB, free: 2.988 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006795/0.1824, allocations: 95.83 kB / 0.9332 GB, free: 2.895 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008627/0.1832, allocations: 161.6 kB / 0.9333 GB, free: 2.738 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.1833, allocations: 59.98 kB / 0.9334 GB, free: 2.68 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0005548/0.1839, allocations: 0.5383 MB / 0.9339 GB, free: 2.129 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1839, allocations: 0 / 0.9339 GB, free: 2.129 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002255/0.1861, allocations: 1.012 MB / 0.9349 GB, free: 1.117 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002624/0.1864, allocations: 147 kB / 0.935 GB, free: 0.9648 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004577/0.191, allocations: 3.26 MB / 0.9382 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.191, allocations: 0 / 0.9382 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.003655/0.1946, allocations: 2.745 MB / 0.9409 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000888/0.1955, allocations: 231.4 kB / 0.9411 GB, free: 10.58 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005553/0.2011, allocations: 4.055 MB / 0.9451 GB, free: 6.441 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006573/0.2017, allocations: 0.6427 MB / 0.9457 GB, free: 5.77 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000457/0.2022, allocations: 291.2 kB / 0.946 GB, free: 5.48 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.2023, allocations: 60.5 kB / 0.9461 GB, free: 5.422 MB / 0.9011 GB Notification: Performance of SimCode: time 1.383e-06/0.2023, allocations: 0 / 0.9461 GB, free: 5.422 MB / 0.9011 GB Notification: Performance of Templates: time 0.06235/0.2647, allocations: 66.37 MB / 1.011 GB, free: 2.914 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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: 5.852190916892141]