Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.0009337/0.0009337, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.0009489/0.0009489, allocations: 170.4 kB / 24.87 MB, free: 8.891 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.9508/0.9508, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.895/1.895, allocations: 377.9 MB / 0.6247 GB, free: 8.43 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.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.8128 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/2.881e-05, allocations: 6.25 kB / 0.8128 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02115/0.02118, allocations: 19.5 MB / 0.8318 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00878/0.02996, allocations: 5.581 MB / 0.8373 GB, free: 8.336 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/0.03134, allocations: 194.6 kB / 0.8375 GB, free: 8.145 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001656/0.03299, allocations: 0.8309 MB / 0.8383 GB, free: 7.309 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.002389/0.03538, allocations: 1.858 MB / 0.8401 GB, free: 5.453 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002235/0.03762, allocations: 1.639 MB / 0.8417 GB, free: 3.812 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.00519/0.04281, allocations: 8.008 MB / 0.8495 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004316/0.04712, allocations: 5.226 MB / 0.8546 GB, free: 6.43 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003728/0.05085, allocations: 4.865 MB / 0.8594 GB, free: 1.555 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003579/0.05443, allocations: 3.753 MB / 0.8631 GB, free: 13.79 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007412/0.05517, allocations: 0.6758 MB / 0.8637 GB, free: 13.12 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009228/0.05609, allocations: 0.7693 MB / 0.8645 GB, free: 12.35 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001663/0.05776, allocations: 2.829 MB / 0.8672 GB, free: 9.512 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001837/0.05959, allocations: 2.175 MB / 0.8694 GB, free: 7.332 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.003575/0.06317, allocations: 5.325 MB / 0.8746 GB, free: 1.992 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.06317, allocations: 0 / 0.8746 GB, free: 1.992 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.32e-07/0.06317, allocations: 0 / 0.8746 GB, free: 1.992 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.885e-05/0.06325, allocations: 0 / 0.8746 GB, free: 1.992 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.00536/0.06861, allocations: 5.61 MB / 0.88 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.06864, allocations: 15.97 kB / 0.88 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002208/0.07085, allocations: 1.312 MB / 0.8813 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002705/0.07356, allocations: 2.808 MB / 0.8841 GB, free: 8.105 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/0.07373, allocations: 361.9 kB / 0.8844 GB, free: 7.75 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004489/0.07418, allocations: 480.3 kB / 0.8849 GB, free: 7.281 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004462/0.07864, allocations: 5.069 MB / 0.8898 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.124e-05/0.07872, allocations: 20 kB / 0.8898 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003133/0.07903, allocations: 209.5 kB / 0.89 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003265/0.07936, allocations: 369.1 kB / 0.8904 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002131/0.08149, allocations: 1.463 MB / 0.8918 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0151/0.09659, allocations: 25.05 MB / 0.9163 GB, free: 5.641 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.09761, allocations: 0.7748 MB / 0.917 GB, free: 4.844 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005283/0.09814, allocations: 0.5321 MB / 0.9176 GB, free: 4.32 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.127e-05/0.09821, allocations: 29.31 kB / 0.9176 GB, free: 4.293 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.09824, allocations: 54.7 kB / 0.9176 GB, free: 4.227 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=157): time 2.755e-06/0.09824, allocations: 0 / 0.9176 GB, free: 4.227 MB / 0.8698 GB Notification: Performance of matching and sorting (n=160): time 0.00482/0.1031, allocations: 3.101 MB / 0.9207 GB, free: 1.074 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.1031, allocations: 64.72 kB / 0.9207 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009983/0.1041, allocations: 1.56 MB / 0.9223 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.05e-05/0.1042, allocations: 53.7 kB / 0.9223 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009895/0.1052, allocations: 2.261 MB / 0.9245 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000311/0.1055, allocations: 0.6004 MB / 0.9251 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003743/0.1058, allocations: 421.7 kB / 0.9255 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.762e-05/0.1059, allocations: 480.7 kB / 0.926 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003485/0.1063, allocations: 284.2 kB / 0.9262 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007904/0.1071, allocations: 1.285 MB / 0.9275 GB, free: 9.551 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.1084, allocations: 1.762 MB / 0.9292 GB, free: 7.363 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.1084, allocations: 11.94 kB / 0.9292 GB, free: 7.352 MB / 0.8855 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.002325/0.1107, allocations: 2.144 MB / 0.9313 GB, free: 5.148 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.1107, allocations: 19.98 kB / 0.9313 GB, free: 5.129 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/0.1107, allocations: 20 kB / 0.9313 GB, free: 5.109 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/0.1121, allocations: 0.7108 MB / 0.932 GB, free: 4.348 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007275/0.1129, allocations: 379.3 kB / 0.9324 GB, free: 3.977 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/0.1234, allocations: 22.65 MB / 0.9545 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000722/0.1241, allocations: 60 kB / 0.9546 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.1242, allocations: 80 kB / 0.9547 GB, free: 11.81 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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.0009188/0.1251, allocations: 302.4 kB / 0.9549 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002621/0.1254, allocations: 302.4 kB / 0.9552 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001909/0.1273, allocations: 1.56 MB / 0.9568 GB, free: 9.59 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.1273, allocations: 19.98 kB / 0.9568 GB, free: 9.57 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.1273, allocations: 12 kB / 0.9568 GB, free: 9.559 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.1273, allocations: 11.97 kB / 0.9568 GB, free: 9.547 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004688/0.132, allocations: 3.829 MB / 0.9605 GB, free: 5.547 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.132, allocations: 4.562 kB / 0.9605 GB, free: 5.543 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004101/0.1324, allocations: 171.8 kB / 0.9607 GB, free: 5.375 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001346/0.1338, allocations: 0.6755 MB / 0.9614 GB, free: 4.648 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.62e-05/0.1338, allocations: 32 kB / 0.9614 GB, free: 4.617 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01006/0.1439, allocations: 22.61 MB / 0.9835 GB, free: 12.63 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.1439, allocations: 11.98 kB / 0.9835 GB, free: 12.62 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001906/0.1458, allocations: 1.85 MB / 0.9853 GB, free: 10.62 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004813/0.1463, allocations: 398.3 kB / 0.9857 GB, free: 10.23 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/0.1464, allocations: 35.98 kB / 0.9857 GB, free: 10.19 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000444/0.1469, allocations: 36 kB / 0.9857 GB, free: 10.16 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002296/0.1471, allocations: 140.9 kB / 0.9859 GB, free: 10.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.829e-05/0.1472, allocations: 40 kB / 0.9859 GB, free: 9.98 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007148/0.1479, allocations: 0.8283 MB / 0.9867 GB, free: 9.133 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1479, allocations: 0 / 0.9867 GB, free: 9.133 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001824/0.1497, allocations: 0.91 MB / 0.9876 GB, free: 8.223 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001906/0.1499, allocations: 159 kB / 0.9878 GB, free: 8.055 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002542/0.1525, allocations: 3.556 MB / 0.9912 GB, free: 4.285 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1525, allocations: 8.125 kB / 0.9913 GB, free: 4.277 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001944/0.1544, allocations: 2.921 MB / 0.9941 GB, free: 1.137 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/0.1561, allocations: 0.7679 MB / 0.9949 GB, free: 392 kB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008106/0.1642, allocations: 6.993 MB / 1.002 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.1652, allocations: 1.176 MB / 1.003 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0006955/0.1659, allocations: 296.8 kB / 1.003 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/0.1669, allocations: 0.736 MB / 1.004 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of SimCode: time 1.583e-06/0.1669, allocations: 0 / 1.004 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of Templates: time 0.05512/0.222, allocations: 46.16 MB / 1.049 GB, free: 9.879 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.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.526540964841843]