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.0009703/0.0009703, allocations: 81.95 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.0009627/0.0009627, allocations: 166.2 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.9574/0.9574, allocations: 177.2 MB / 205.3 MB, free: 5.492 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.844/1.844, allocations: 377.9 MB / 0.6247 GB, free: 8.414 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.322e-06/1.322e-06, allocations: 0 / 0.8128 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.578e-05/1.71e-05, allocations: 7.062 kB / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.009756/0.009773, allocations: 10.34 MB / 0.8229 GB, free: 7.066 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.007016/0.01679, allocations: 6.819 MB / 0.8295 GB, free: 272 kB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007191/0.01751, allocations: 91.19 kB / 0.8296 GB, free: 180 kB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0008337/0.01834, allocations: 393.9 kB / 0.83 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.002837/0.02118, allocations: 1.695 MB / 0.8317 GB, free: 14.1 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009319/0.02211, allocations: 0.6549 MB / 0.8323 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.002448/0.02456, allocations: 2.859 MB / 0.8351 GB, free: 10.57 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/0.02564, allocations: 1.188 MB / 0.8363 GB, free: 9.352 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001738/0.02738, allocations: 2.102 MB / 0.8383 GB, free: 7.246 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009025/0.02829, allocations: 0.9895 MB / 0.8393 GB, free: 6.254 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.02844, allocations: 156 kB / 0.8394 GB, free: 6.102 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004153/0.02885, allocations: 327.5 kB / 0.8397 GB, free: 5.781 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0003691/0.02922, allocations: 0.6348 MB / 0.8404 GB, free: 5.145 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0004741/0.0297, allocations: 0.6468 MB / 0.841 GB, free: 4.496 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.03082, allocations: 1.537 MB / 0.8425 GB, free: 2.953 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.03083, allocations: 4 kB / 0.8425 GB, free: 2.949 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.303e-06/0.03083, allocations: 4 kB / 0.8425 GB, free: 2.945 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.709e-05/0.03085, allocations: 0 / 0.8425 GB, free: 2.945 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.001974/0.03282, allocations: 2.17 MB / 0.8446 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.03285, allocations: 12.03 kB / 0.8446 GB, free: 0.7188 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003504/0.03636, allocations: 0.9241 MB / 0.8455 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.03752, allocations: 1.158 MB / 0.8467 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.048e-05/0.03757, allocations: 98.66 kB / 0.8468 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/0.03774, allocations: 116.4 kB / 0.8469 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.03947, allocations: 1.697 MB / 0.8485 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/0.0395, allocations: 11.88 kB / 0.8485 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.03961, allocations: 55.97 kB / 0.8486 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003153/0.03992, allocations: 154.2 kB / 0.8487 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008672/0.04079, allocations: 0.6751 MB / 0.8494 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005985/0.04678, allocations: 7.833 MB / 0.857 GB, free: 3.496 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009956/0.04777, allocations: 0.5968 MB / 0.8576 GB, free: 2.895 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003524/0.04812, allocations: 303.1 kB / 0.8579 GB, free: 2.598 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.037e-05/0.04817, allocations: 17 kB / 0.8579 GB, free: 2.578 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.0482, allocations: 50.33 kB / 0.858 GB, free: 2.52 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=89): time 2.504e-06/0.0482, allocations: 0 / 0.858 GB, free: 2.52 MB / 0.8073 GB Notification: Performance of matching and sorting (n=153): time 0.009728/0.05793, allocations: 5.126 MB / 0.863 GB, free: 13.36 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.05796, allocations: 68.72 kB / 0.863 GB, free: 13.28 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006217/0.05858, allocations: 0.9921 MB / 0.864 GB, free: 12.28 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.499e-05/0.05868, allocations: 53.7 kB / 0.8641 GB, free: 12.22 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003773/0.05906, allocations: 0.8213 MB / 0.8649 GB, free: 11.39 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003197/0.05938, allocations: 0.5538 MB / 0.8654 GB, free: 10.83 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003575/0.05973, allocations: 285 kB / 0.8657 GB, free: 10.54 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.496e-05/0.05983, allocations: 484.8 kB / 0.8661 GB, free: 10.07 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004475/0.06028, allocations: 371.7 kB / 0.8665 GB, free: 9.703 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006233/0.0609, allocations: 0.7413 MB / 0.8672 GB, free: 8.832 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.06203, allocations: 1.18 MB / 0.8684 GB, free: 7.523 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.06203, allocations: 0 / 0.8684 GB, free: 7.523 MB / 0.823 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.004234/0.06626, allocations: 2.537 MB / 0.8709 GB, free: 4.941 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.06628, allocations: 8 kB / 0.8709 GB, free: 4.934 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.06629, allocations: 11.94 kB / 0.8709 GB, free: 4.922 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004589/0.07088, allocations: 1.733 MB / 0.8726 GB, free: 3.16 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005491/0.07143, allocations: 179.7 kB / 0.8727 GB, free: 2.984 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01228/0.08371, allocations: 18.76 MB / 0.8911 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007473/0.08446, allocations: 63.92 kB / 0.8911 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.08456, allocations: 51.97 kB / 0.8912 GB, free: 15.2 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.0003727/0.08493, allocations: 240.4 kB / 0.8914 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002653/0.0852, allocations: 215 kB / 0.8916 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004199/0.0894, allocations: 2.495 MB / 0.894 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.08941, allocations: 16 kB / 0.8941 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.019e-05/0.08943, allocations: 20 kB / 0.8941 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.08944, allocations: 7.969 kB / 0.8941 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00543/0.09487, allocations: 3.653 MB / 0.8976 GB, free: 8.391 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.09487, allocations: 4 kB / 0.8977 GB, free: 8.387 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004207/0.09529, allocations: 119.8 kB / 0.8978 GB, free: 8.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004432/0.09973, allocations: 1.667 MB / 0.8994 GB, free: 6.574 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.34e-05/0.09981, allocations: 39.97 kB / 0.8994 GB, free: 6.535 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01152/0.1113, allocations: 18.66 MB / 0.9177 GB, free: 2.965 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.1113, allocations: 7.938 kB / 0.9177 GB, free: 2.957 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004039/0.1154, allocations: 2.408 MB / 0.92 GB, free: 452 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004989/0.1159, allocations: 362.7 kB / 0.9204 GB, free: 88 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/0.116, allocations: 24 kB / 0.9204 GB, free: 64 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006059/0.1166, allocations: 59.97 kB / 0.9204 GB, free: 4 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003376/0.117, allocations: 168.9 kB / 0.9206 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.836e-05/0.117, allocations: 39.97 kB / 0.9206 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003866/0.1174, allocations: 0.5743 MB / 0.9212 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.1174, allocations: 3.938 kB / 0.9212 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001509/0.1189, allocations: 0.668 MB / 0.9219 GB, free: 14.55 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.0002171/0.1191, allocations: 137.8 kB / 0.922 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003353/0.1225, allocations: 3.228 MB / 0.9251 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1225, allocations: 0 / 0.9251 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002148/0.1247, allocations: 2.66 MB / 0.9277 GB, free: 8.23 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.1258, allocations: 0.5219 MB / 0.9283 GB, free: 7.727 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/0.1292, allocations: 3.127 MB / 0.9313 GB, free: 4.523 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006302/0.1298, allocations: 0.5082 MB / 0.9318 GB, free: 3.984 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000629/0.1305, allocations: 285.2 kB / 0.9321 GB, free: 3.699 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007277/0.1312, allocations: 481.8 kB / 0.9325 GB, free: 3.227 MB / 0.8855 GB Notification: Performance of SimCode: time 8.92e-07/0.1312, allocations: 0 / 0.9325 GB, free: 3.227 MB / 0.8855 GB Notification: Performance of Templates: time 0.05091/0.1821, allocations: 52.07 MB / 0.9834 GB, free: 15.95 MB / 0.948 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.9508201270364225]