Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.0009732/0.0009732, allocations: 77.97 kB / 20.68 MB, free: 3.809 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.0009622/0.0009622, allocations: 181.3 kB / 24.09 MB, free: 412 kB / 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.9471/0.9471, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.851/1.851, allocations: 377.9 MB / 0.624 GB, free: 8.426 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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0.875 kB / 0.812 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.198e-05/1.356e-05, allocations: 2.312 kB / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.01671/0.01672, allocations: 16.98 MB / 0.8286 GB, free: 416 kB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00738/0.0241, allocations: 5.086 MB / 0.8336 GB, free: 11.33 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009483/0.02505, allocations: 198.5 kB / 0.8338 GB, free: 11.14 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.02616, allocations: 0.7455 MB / 0.8345 GB, free: 10.39 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.002127/0.02829, allocations: 1.655 MB / 0.8361 GB, free: 8.734 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001711/0.03, allocations: 1.567 MB / 0.8376 GB, free: 7.172 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.004916/0.03492, allocations: 7.336 MB / 0.8448 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004544/0.03946, allocations: 5.085 MB / 0.8498 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004132/0.0436, allocations: 4.563 MB / 0.8542 GB, free: 6.035 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003146/0.04674, allocations: 3.541 MB / 0.8577 GB, free: 2.488 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.000558/0.0473, allocations: 0.6445 MB / 0.8583 GB, free: 1.844 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008423/0.04814, allocations: 0.7406 MB / 0.859 GB, free: 1.105 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001433/0.04957, allocations: 2.759 MB / 0.8617 GB, free: 14.34 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001626/0.0512, allocations: 2.031 MB / 0.8637 GB, free: 12.3 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.003195/0.0544, allocations: 5.037 MB / 0.8686 GB, free: 7.254 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.0544, allocations: 0 / 0.8686 GB, free: 7.254 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.012e-06/0.0544, allocations: 0 / 0.8686 GB, free: 7.254 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.046e-05/0.05444, allocations: 0 / 0.8686 GB, free: 7.254 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.004772/0.05921, allocations: 5.161 MB / 0.8737 GB, free: 2.027 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.05925, allocations: 12.03 kB / 0.8737 GB, free: 2.016 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002352/0.0616, allocations: 1.351 MB / 0.875 GB, free: 0.6602 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002787/0.06439, allocations: 2.683 MB / 0.8776 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000159/0.06455, allocations: 345.7 kB / 0.878 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004168/0.06497, allocations: 472.3 kB / 0.8784 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003893/0.06886, allocations: 4.462 MB / 0.8828 GB, free: 8.113 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.841e-05/0.06894, allocations: 27.95 kB / 0.8828 GB, free: 8.086 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002767/0.06921, allocations: 204.3 kB / 0.883 GB, free: 7.887 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002089/0.06942, allocations: 316.9 kB / 0.8833 GB, free: 7.574 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002001/0.07142, allocations: 1.399 MB / 0.8847 GB, free: 6.152 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01479/0.08622, allocations: 23.96 MB / 0.9081 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007866/0.087, allocations: 0.6973 MB / 0.9087 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003992/0.0874, allocations: 450.3 kB / 0.9092 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.828e-05/0.08746, allocations: 21.31 kB / 0.9092 GB, free: 12.26 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.08749, allocations: 54.7 kB / 0.9092 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=133): time 3.016e-06/0.0875, allocations: 0 / 0.9092 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=136): time 0.004669/0.09216, allocations: 3.015 MB / 0.9122 GB, free: 9.129 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.0922, allocations: 64.72 kB / 0.9122 GB, free: 9.051 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.09324, allocations: 1.31 MB / 0.9135 GB, free: 7.727 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.047e-05/0.0933, allocations: 57.7 kB / 0.9136 GB, free: 7.664 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009336/0.09423, allocations: 2.119 MB / 0.9156 GB, free: 5.527 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002742/0.09451, allocations: 0.519 MB / 0.9162 GB, free: 5.004 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003124/0.09482, allocations: 352.9 kB / 0.9165 GB, free: 4.652 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.095, allocations: 488.7 kB / 0.917 GB, free: 4.172 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002905/0.09529, allocations: 243.8 kB / 0.9172 GB, free: 3.934 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007599/0.09605, allocations: 1.224 MB / 0.9184 GB, free: 2.285 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.09746, allocations: 1.638 MB / 0.92 GB, free: 228 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/0.09747, allocations: 8 kB / 0.92 GB, free: 220 kB / 0.8698 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.002265/0.09974, allocations: 1.987 MB / 0.9219 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.09976, allocations: 18.81 kB / 0.9219 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/0.09979, allocations: 24 kB / 0.922 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001278/0.1011, allocations: 0.6796 MB / 0.9226 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005494/0.1016, allocations: 315.4 kB / 0.9229 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/0.1131, allocations: 23.38 MB / 0.9458 GB, free: 4.348 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007634/0.1139, allocations: 56 kB / 0.9458 GB, free: 4.293 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.438e-05/0.114, allocations: 72 kB / 0.9459 GB, free: 4.223 MB / 0.9011 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 (185): * Single equations (assignments): 173 * 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.0008574/0.1148, allocations: 287.9 kB / 0.9462 GB, free: 3.93 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/0.1151, allocations: 246.7 kB / 0.9464 GB, free: 3.688 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00188/0.1169, allocations: 1.481 MB / 0.9478 GB, free: 2.137 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.117, allocations: 16 kB / 0.9479 GB, free: 2.121 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.117, allocations: 8 kB / 0.9479 GB, free: 2.113 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.117, allocations: 7.969 kB / 0.9479 GB, free: 2.105 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00489/0.1219, allocations: 3.665 MB / 0.9515 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.1219, allocations: 4 kB / 0.9515 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003405/0.1222, allocations: 139.8 kB / 0.9516 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001187/0.1234, allocations: 0.6252 MB / 0.9522 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.118e-05/0.1235, allocations: 31.98 kB / 0.9522 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009878/0.1333, allocations: 22.32 MB / 0.974 GB, free: 5.734 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.1333, allocations: 11.94 kB / 0.974 GB, free: 5.723 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/0.1353, allocations: 1.729 MB / 0.9757 GB, free: 3.844 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004487/0.1358, allocations: 322.6 kB / 0.976 GB, free: 3.527 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.1359, allocations: 28 kB / 0.9761 GB, free: 3.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003266/0.1362, allocations: 36 kB / 0.9761 GB, free: 3.465 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002334/0.1365, allocations: 132.6 kB / 0.9762 GB, free: 3.332 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.487e-05/0.1365, allocations: 32 kB / 0.9763 GB, free: 3.301 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004798/0.137, allocations: 0.6986 MB / 0.9769 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.1e-07/0.137, allocations: 4 kB / 0.9769 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001964/0.139, allocations: 0.7969 MB / 0.9777 GB, free: 1.809 MB / 0.9323 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001843/0.1391, allocations: 139 kB / 0.9779 GB, free: 1.66 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002384/0.1415, allocations: 3.393 MB / 0.9812 GB, free: 14.06 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1415, allocations: 0 / 0.9812 GB, free: 14.06 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001745/0.1433, allocations: 2.802 MB / 0.9839 GB, free: 11.04 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/0.1447, allocations: 0.7106 MB / 0.9846 GB, free: 10.36 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007773/0.1525, allocations: 6.559 MB / 0.991 GB, free: 3.656 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000967/0.1535, allocations: 1.128 MB / 0.9921 GB, free: 2.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005848/0.1541, allocations: 241.5 kB / 0.9923 GB, free: 2.262 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007467/0.1548, allocations: 0.5721 MB / 0.9929 GB, free: 1.688 MB / 0.948 GB Notification: Performance of SimCode: time 8.81e-07/0.1548, allocations: 0 / 0.9929 GB, free: 1.688 MB / 0.948 GB Notification: Performance of Templates: time 0.04825/0.2031, allocations: 38.96 MB / 1.031 GB, free: 11.48 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.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.611254746094346]