Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00158/0.00158, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001656/0.001656, allocations: 181 kB / 23.35 MB, free: 1.137 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 1.019/1.019, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.475/2.475, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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_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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.704e-05, allocations: 4.422 kB / 0.8387 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02115/0.02118, allocations: 19.54 MB / 0.8577 GB, free: 10.51 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01299/0.03417, allocations: 5.754 MB / 0.8634 GB, free: 4.738 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001883/0.03605, allocations: 190.6 kB / 0.8635 GB, free: 4.551 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.03736, allocations: 0.8377 MB / 0.8644 GB, free: 3.707 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.002134/0.03949, allocations: 1.856 MB / 0.8662 GB, free: 1.84 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001805/0.0413, allocations: 1.654 MB / 0.8678 GB, free: 188 kB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.004462/0.04576, allocations: 8.02 MB / 0.8756 GB, free: 8.141 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005407/0.05117, allocations: 5.536 MB / 0.881 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00404/0.05521, allocations: 4.858 MB / 0.8858 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003381/0.05859, allocations: 3.648 MB / 0.8893 GB, free: 9.926 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0005702/0.05916, allocations: 0.6758 MB / 0.89 GB, free: 9.25 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008497/0.06001, allocations: 0.7654 MB / 0.8907 GB, free: 8.484 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001526/0.06153, allocations: 2.83 MB / 0.8935 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001491/0.06302, allocations: 2.179 MB / 0.8956 GB, free: 3.465 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003479/0.0665, allocations: 5.321 MB / 0.9008 GB, free: 14.13 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.06651, allocations: 4 kB / 0.9008 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.523e-06/0.06651, allocations: 3.938 kB / 0.9008 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.607e-05/0.06656, allocations: 0 / 0.9008 GB, free: 14.12 MB / 0.8698 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.004494/0.07105, allocations: 5.125 MB / 0.9058 GB, free: 8.941 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.07108, allocations: 8.625 kB / 0.9058 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002219/0.0733, allocations: 1.163 MB / 0.907 GB, free: 7.77 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002447/0.07575, allocations: 2.482 MB / 0.9094 GB, free: 5.215 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001683/0.07591, allocations: 357.9 kB / 0.9097 GB, free: 4.863 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004467/0.07636, allocations: 484.3 kB / 0.9102 GB, free: 4.391 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004041/0.0804, allocations: 4.897 MB / 0.915 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.319e-05/0.08048, allocations: 16.06 kB / 0.915 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002921/0.08077, allocations: 216.3 kB / 0.9152 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002997/0.08107, allocations: 369 kB / 0.9156 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/0.08284, allocations: 1.296 MB / 0.9168 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01262/0.09546, allocations: 18.73 MB / 0.9351 GB, free: 9.637 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009442/0.09641, allocations: 0.7588 MB / 0.9359 GB, free: 8.867 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007181/0.09712, allocations: 490.2 kB / 0.9363 GB, free: 8.391 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.909e-05/0.09719, allocations: 29.31 kB / 0.9364 GB, free: 8.363 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.09723, allocations: 55.88 kB / 0.9364 GB, free: 8.297 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=157): time 3.076e-06/0.09723, allocations: 0 / 0.9364 GB, free: 8.297 MB / 0.9011 GB Notification: Performance of matching and sorting (n=160): time 0.004165/0.1014, allocations: 2.762 MB / 0.9391 GB, free: 5.488 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.1014, allocations: 72.66 kB / 0.9392 GB, free: 5.402 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008642/0.1023, allocations: 1.462 MB / 0.9406 GB, free: 3.902 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.11e-05/0.1024, allocations: 57.7 kB / 0.9407 GB, free: 3.84 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006891/0.103, allocations: 1.932 MB / 0.9425 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002686/0.1033, allocations: 0.577 MB / 0.9431 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006024/0.1039, allocations: 383.8 kB / 0.9435 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 5.659e-05/0.104, allocations: 309.1 kB / 0.9438 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003/0.1043, allocations: 240.3 kB / 0.944 GB, free: 388 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006012/0.1049, allocations: 0.9399 MB / 0.9449 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.106, allocations: 1.423 MB / 0.9463 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.106, allocations: 8 kB / 0.9463 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.001951/0.1079, allocations: 1.758 MB / 0.948 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.1079, allocations: 16 kB / 0.948 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.108, allocations: 20 kB / 0.9481 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/0.1093, allocations: 0.6989 MB / 0.9487 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007839/0.1101, allocations: 407.3 kB / 0.9491 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008848/0.1189, allocations: 16.15 MB / 0.9649 GB, free: 9.043 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006801/0.1196, allocations: 64 kB / 0.965 GB, free: 8.98 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.171e-05/0.1197, allocations: 80.06 kB / 0.965 GB, free: 8.902 MB / 0.9323 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.0007613/0.1204, allocations: 260.5 kB / 0.9653 GB, free: 8.637 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000211/0.1206, allocations: 215.7 kB / 0.9655 GB, free: 8.426 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00162/0.1223, allocations: 1.359 MB / 0.9668 GB, free: 7.004 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.1223, allocations: 12 kB / 0.9668 GB, free: 6.992 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.1223, allocations: 12 kB / 0.9669 GB, free: 6.98 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.1223, allocations: 7.969 kB / 0.9669 GB, free: 6.973 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00384/0.1261, allocations: 3.113 MB / 0.9699 GB, free: 3.727 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.1261, allocations: 4 kB / 0.9699 GB, free: 3.723 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004634/0.1266, allocations: 183.7 kB / 0.9701 GB, free: 3.543 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001518/0.1281, allocations: 0.6759 MB / 0.9707 GB, free: 2.816 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.419e-05/0.1282, allocations: 28 kB / 0.9708 GB, free: 2.789 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008476/0.1367, allocations: 16.12 MB / 0.9865 GB, free: 1.504 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1367, allocations: 7.938 kB / 0.9865 GB, free: 1.496 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.1383, allocations: 1.521 MB / 0.988 GB, free: 15.84 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004226/0.1387, allocations: 330.3 kB / 0.9883 GB, free: 15.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.1389, allocations: 35.98 kB / 0.9883 GB, free: 15.48 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004167/0.1393, allocations: 36 kB / 0.9884 GB, free: 15.45 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002418/0.1395, allocations: 144.9 kB / 0.9885 GB, free: 15.31 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.265e-05/0.1396, allocations: 39.92 kB / 0.9886 GB, free: 15.27 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0004863/0.1401, allocations: 0.7069 MB / 0.9892 GB, free: 14.54 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.1401, allocations: 0 / 0.9892 GB, free: 14.54 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001757/0.1419, allocations: 0.9102 MB / 0.9901 GB, free: 13.63 MB / 0.9636 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.000184/0.142, allocations: 135.7 kB / 0.9903 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002605/0.1446, allocations: 2.804 MB / 0.993 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.003e-05/0.1447, allocations: 25.81 kB / 0.993 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001533/0.1462, allocations: 2.217 MB / 0.9952 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.1477, allocations: 0.7635 MB / 0.9959 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007521/0.1552, allocations: 7.271 MB / 1.003 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009201/0.1561, allocations: 1.169 MB / 1.004 GB, free: 14.78 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0006503/0.1568, allocations: 296.8 kB / 1.004 GB, free: 14.48 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/0.1579, allocations: 0.6435 MB / 1.005 GB, free: 13.82 MB / 0.9792 GB Notification: Performance of SimCode: time 1.343e-06/0.1579, allocations: 0 / 1.005 GB, free: 13.82 MB / 0.9792 GB Notification: Performance of Templates: time 0.05415/0.2121, allocations: 45.32 MB / 1.049 GB, free: 1.48 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.731927441898733]