Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001155/0.001155, 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.003626/0.003626, allocations: 171.5 kB / 24.87 MB, free: 9.258 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.9275/0.9275, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.714/1.714, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.7883 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.729e-05, allocations: 4.984 kB / 0.7883 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.01323/0.01325, allocations: 19.49 MB / 0.8074 GB, free: 8.613 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.007945/0.0212, allocations: 5.591 MB / 0.8128 GB, free: 3.043 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.02254, allocations: 198 kB / 0.813 GB, free: 2.852 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.02389, allocations: 0.8298 MB / 0.8138 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002295/0.02618, allocations: 1.853 MB / 0.8156 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002096/0.02828, allocations: 1.645 MB / 0.8172 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.005446/0.03372, allocations: 8.008 MB / 0.8251 GB, free: 6.488 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004393/0.03812, allocations: 5.218 MB / 0.8302 GB, free: 1.141 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004391/0.04251, allocations: 4.869 MB / 0.8349 GB, free: 12.26 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003183/0.04569, allocations: 3.757 MB / 0.8386 GB, free: 8.496 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0006035/0.04629, allocations: 0.6797 MB / 0.8392 GB, free: 7.816 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009085/0.0472, allocations: 0.7576 MB / 0.84 GB, free: 7.059 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001589/0.04879, allocations: 2.841 MB / 0.8428 GB, free: 4.211 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.00162/0.05041, allocations: 2.175 MB / 0.8449 GB, free: 2.031 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.003805/0.05422, allocations: 5.314 MB / 0.8501 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.05422, allocations: 4 kB / 0.8501 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.002e-06/0.05423, allocations: 0 / 0.8501 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.042e-05/0.05431, allocations: 4 kB / 0.8501 GB, free: 12.7 MB / 0.8073 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.005243/0.05955, allocations: 5.603 MB / 0.8556 GB, free: 7.023 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.05958, allocations: 8.031 kB / 0.8556 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/0.06175, allocations: 1.312 MB / 0.8568 GB, free: 5.699 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002685/0.06444, allocations: 2.812 MB / 0.8596 GB, free: 2.828 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/0.0646, allocations: 357.9 kB / 0.8599 GB, free: 2.477 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004439/0.06504, allocations: 480.3 kB / 0.8604 GB, free: 2.008 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00421/0.06925, allocations: 5.073 MB / 0.8653 GB, free: 12.27 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.601e-05/0.06933, allocations: 27.94 kB / 0.8654 GB, free: 12.24 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002929/0.06962, allocations: 212.3 kB / 0.8656 GB, free: 12.04 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002989/0.06992, allocations: 373 kB / 0.8659 GB, free: 11.67 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/0.07184, allocations: 1.455 MB / 0.8674 GB, free: 10.19 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01498/0.08682, allocations: 25.04 MB / 0.8918 GB, free: 368 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.08783, allocations: 0.7743 MB / 0.8926 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005255/0.08836, allocations: 0.5406 MB / 0.8931 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.875e-05/0.08843, allocations: 25.31 kB / 0.8931 GB, free: 15 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.08846, allocations: 54.7 kB / 0.8932 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=157): time 3.396e-06/0.08846, allocations: 0 / 0.8932 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of matching and sorting (n=160): time 0.004781/0.09324, allocations: 3.089 MB / 0.8962 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.09328, allocations: 76.64 kB / 0.8963 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.09429, allocations: 1.564 MB / 0.8978 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.134e-05/0.09436, allocations: 53.7 kB / 0.8978 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000896/0.09526, allocations: 2.254 MB / 0.9 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003103/0.09557, allocations: 0.6042 MB / 0.9006 GB, free: 7.16 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003713/0.09594, allocations: 413.8 kB / 0.901 GB, free: 6.746 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.514e-05/0.09604, allocations: 476.8 kB / 0.9015 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/0.09637, allocations: 288.1 kB / 0.9017 GB, free: 5.992 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007735/0.09714, allocations: 1.289 MB / 0.903 GB, free: 4.27 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.09835, allocations: 1.762 MB / 0.9047 GB, free: 2.078 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.09836, allocations: 12 kB / 0.9047 GB, free: 2.066 MB / 0.8542 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.002263/0.1006, allocations: 2.14 MB / 0.9068 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.1006, allocations: 20.03 kB / 0.9068 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/0.1007, allocations: 20 kB / 0.9069 GB, free: 15.83 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001412/0.1021, allocations: 0.7182 MB / 0.9076 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007177/0.1028, allocations: 383.3 kB / 0.9079 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009761/0.1126, allocations: 22.66 MB / 0.9301 GB, free: 6.656 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009861/0.1135, allocations: 60 kB / 0.9301 GB, free: 6.598 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-05/0.1136, allocations: 80 kB / 0.9302 GB, free: 6.52 MB / 0.8855 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.0009503/0.1146, allocations: 301.9 kB / 0.9305 GB, free: 6.215 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002714/0.1149, allocations: 294.5 kB / 0.9308 GB, free: 5.926 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001825/0.1167, allocations: 1.568 MB / 0.9323 GB, free: 4.293 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.1167, allocations: 19.98 kB / 0.9323 GB, free: 4.273 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.1167, allocations: 11.94 kB / 0.9323 GB, free: 4.262 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.1167, allocations: 7.969 kB / 0.9323 GB, free: 4.254 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00489/0.1216, allocations: 3.841 MB / 0.9361 GB, free: 256 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.1216, allocations: 4 kB / 0.9361 GB, free: 252 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004098/0.122, allocations: 171.7 kB / 0.9362 GB, free: 80 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001306/0.1233, allocations: 0.6758 MB / 0.9369 GB, free: 15.35 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-05/0.1234, allocations: 32 kB / 0.9369 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009453/0.1328, allocations: 22.61 MB / 0.959 GB, free: 7.328 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.1328, allocations: 11.94 kB / 0.959 GB, free: 7.316 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00206/0.1349, allocations: 1.846 MB / 0.9608 GB, free: 5.312 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000557/0.1355, allocations: 406.3 kB / 0.9612 GB, free: 4.914 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/0.1356, allocations: 32 kB / 0.9613 GB, free: 4.883 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004553/0.1361, allocations: 32 kB / 0.9613 GB, free: 4.852 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002794/0.1364, allocations: 152.9 kB / 0.9614 GB, free: 4.703 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.666e-05/0.1364, allocations: 32 kB / 0.9615 GB, free: 4.672 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0006421/0.1371, allocations: 0.8244 MB / 0.9623 GB, free: 3.828 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1371, allocations: 0 / 0.9623 GB, free: 3.828 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002262/0.1393, allocations: 0.9101 MB / 0.9632 GB, free: 2.918 MB / 0.9167 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.0002003/0.1395, allocations: 167 kB / 0.9633 GB, free: 2.746 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002766/0.1423, allocations: 3.552 MB / 0.9668 GB, free: 14.99 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.1423, allocations: 7.938 kB / 0.9668 GB, free: 14.98 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001786/0.1441, allocations: 2.921 MB / 0.9696 GB, free: 11.84 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/0.1457, allocations: 0.769 MB / 0.9704 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007494/0.1532, allocations: 6.986 MB / 0.9772 GB, free: 3.953 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009187/0.1541, allocations: 1.173 MB / 0.9784 GB, free: 2.754 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0006962/0.1548, allocations: 292.8 kB / 0.9786 GB, free: 2.465 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/0.1559, allocations: 0.736 MB / 0.9794 GB, free: 1.727 MB / 0.9323 GB Notification: Performance of SimCode: time 1.092e-06/0.1559, allocations: 0 / 0.9794 GB, free: 1.727 MB / 0.9323 GB Notification: Performance of Templates: time 0.05279/0.2087, allocations: 46.16 MB / 1.024 GB, free: 4.594 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 5.855915299151093]