Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.00127/0.00127, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001638/0.001638, allocations: 181 kB / 24.09 MB, free: 420 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.9343/0.9343, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.876/1.876, allocations: 377.9 MB / 0.624 GB, free: 8.375 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.812 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.003e-05, allocations: 3.344 kB / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.008703/0.008723, allocations: 10.34 MB / 0.8221 GB, free: 7.07 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.008033/0.01676, allocations: 6.822 MB / 0.8288 GB, free: 272 kB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.01788, allocations: 89.31 kB / 0.8289 GB, free: 184 kB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.01889, allocations: 392.9 kB / 0.8292 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.003606/0.0225, allocations: 1.697 MB / 0.8309 GB, free: 14.1 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.0238, allocations: 0.6555 MB / 0.8315 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.003459/0.02725, allocations: 2.851 MB / 0.8343 GB, free: 10.58 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/0.02878, allocations: 1.192 MB / 0.8355 GB, free: 9.355 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002502/0.03128, allocations: 2.098 MB / 0.8375 GB, free: 7.254 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/0.03288, allocations: 0.9933 MB / 0.8385 GB, free: 6.258 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0003236/0.0332, allocations: 156 kB / 0.8387 GB, free: 6.105 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006185/0.03382, allocations: 327.5 kB / 0.839 GB, free: 5.785 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.000415/0.03424, allocations: 0.6387 MB / 0.8396 GB, free: 5.145 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0006661/0.0349, allocations: 0.6429 MB / 0.8402 GB, free: 4.5 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.00186/0.03676, allocations: 1.541 MB / 0.8417 GB, free: 2.953 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.03677, allocations: 4 kB / 0.8417 GB, free: 2.949 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.202e-06/0.03677, allocations: 0 / 0.8417 GB, free: 2.949 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.532e-05/0.03682, allocations: 0 / 0.8417 GB, free: 2.949 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002726/0.03955, allocations: 2.17 MB / 0.8438 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/0.03961, allocations: 11.97 kB / 0.8439 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003749/0.04336, allocations: 0.9202 MB / 0.8448 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/0.04486, allocations: 1.17 MB / 0.8459 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.836e-05/0.04491, allocations: 86.67 kB / 0.846 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/0.04509, allocations: 120.4 kB / 0.8461 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002107/0.04719, allocations: 1.701 MB / 0.8478 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.322e-05/0.04723, allocations: 11.88 kB / 0.8478 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.04733, allocations: 59.97 kB / 0.8478 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002938/0.04762, allocations: 142.2 kB / 0.848 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009135/0.04853, allocations: 0.6868 MB / 0.8486 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007312/0.05585, allocations: 7.821 MB / 0.8563 GB, free: 3.504 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.05688, allocations: 0.6007 MB / 0.8569 GB, free: 2.898 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003572/0.05723, allocations: 303.1 kB / 0.8571 GB, free: 2.602 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.62e-05/0.05729, allocations: 17 kB / 0.8572 GB, free: 2.582 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.05732, allocations: 50.39 kB / 0.8572 GB, free: 2.523 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=89): time 3.336e-06/0.05732, allocations: 0 / 0.8572 GB, free: 2.523 MB / 0.8073 GB Notification: Performance of matching and sorting (n=153): time 0.01012/0.06744, allocations: 5.13 MB / 0.8622 GB, free: 13.36 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.06748, allocations: 68.72 kB / 0.8623 GB, free: 13.28 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007631/0.06824, allocations: 0.9921 MB / 0.8633 GB, free: 12.28 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.06835, allocations: 49.7 kB / 0.8633 GB, free: 12.22 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000409/0.06876, allocations: 0.8252 MB / 0.8641 GB, free: 11.39 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003784/0.06914, allocations: 0.546 MB / 0.8646 GB, free: 10.84 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003507/0.06949, allocations: 289 kB / 0.8649 GB, free: 10.55 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.06959, allocations: 480.8 kB / 0.8654 GB, free: 10.07 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004781/0.07007, allocations: 379.7 kB / 0.8657 GB, free: 9.703 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006074/0.07068, allocations: 0.7335 MB / 0.8665 GB, free: 8.84 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.0718, allocations: 1.18 MB / 0.8676 GB, free: 7.531 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.07181, allocations: 4 kB / 0.8676 GB, free: 7.527 MB / 0.823 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.004793/0.0766, allocations: 2.537 MB / 0.8701 GB, free: 4.945 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.07664, allocations: 8 kB / 0.8701 GB, free: 4.938 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.07666, allocations: 11.97 kB / 0.8701 GB, free: 4.926 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004882/0.08154, allocations: 1.733 MB / 0.8718 GB, free: 3.164 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006785/0.08222, allocations: 191.7 kB / 0.872 GB, free: 2.977 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01396/0.09618, allocations: 18.77 MB / 0.8903 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.09727, allocations: 67.91 kB / 0.8904 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.09737, allocations: 55.97 kB / 0.8904 GB, free: 15.18 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000459/0.09783, allocations: 232.4 kB / 0.8906 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000296/0.09813, allocations: 215 kB / 0.8909 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004071/0.1022, allocations: 2.491 MB / 0.8933 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.1022, allocations: 16 kB / 0.8933 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.931e-05/0.1022, allocations: 20 kB / 0.8933 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.1023, allocations: 11.97 kB / 0.8933 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006082/0.1083, allocations: 3.649 MB / 0.8969 GB, free: 8.379 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.1083, allocations: 4 kB / 0.8969 GB, free: 8.375 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004396/0.1088, allocations: 120.2 kB / 0.897 GB, free: 8.258 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004312/0.1131, allocations: 1.669 MB / 0.8986 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001227/0.1132, allocations: 47.95 kB / 0.8987 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01277/0.126, allocations: 18.66 MB / 0.9169 GB, free: 2.941 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.126, allocations: 11.97 kB / 0.9169 GB, free: 2.93 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004187/0.1302, allocations: 2.408 MB / 0.9193 GB, free: 424 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007431/0.1309, allocations: 362.7 kB / 0.9196 GB, free: 60 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.1311, allocations: 32 kB / 0.9197 GB, free: 28 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006771/0.1318, allocations: 56.05 kB / 0.9197 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005284/0.1323, allocations: 160.9 kB / 0.9199 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.036e-05/0.1324, allocations: 51.94 kB / 0.9199 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0005233/0.1329, allocations: 0.5742 MB / 0.9205 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.91e-07/0.1329, allocations: 0 / 0.9205 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001865/0.1348, allocations: 0.6757 MB / 0.9211 GB, free: 14.51 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002603/0.1351, allocations: 139.2 kB / 0.9213 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003713/0.1388, allocations: 3.217 MB / 0.9244 GB, free: 11 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.1388, allocations: 8.062 kB / 0.9244 GB, free: 11 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002547/0.1413, allocations: 2.659 MB / 0.927 GB, free: 8.191 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/0.1428, allocations: 0.5242 MB / 0.9275 GB, free: 7.695 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004264/0.1471, allocations: 3.127 MB / 0.9306 GB, free: 4.492 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005298/0.1476, allocations: 0.5121 MB / 0.9311 GB, free: 3.949 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0009689/0.1486, allocations: 285.2 kB / 0.9313 GB, free: 3.664 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007542/0.1494, allocations: 473.8 kB / 0.9318 GB, free: 3.199 MB / 0.8855 GB Notification: Performance of SimCode: time 1.773e-06/0.1494, allocations: 0 / 0.9318 GB, free: 3.199 MB / 0.8855 GB Notification: Performance of Templates: time 0.05467/0.204, allocations: 51.12 MB / 0.9817 GB, free: 0.7773 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.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.924014974851161]