Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009985/0.0009985, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.00163/0.00163, allocations: 169 kB / 23.02 MB, free: 1.551 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.9526/0.9526, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.105/2.105, allocations: 429.5 MB / 0.6733 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.324e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01172/0.01174, allocations: 10.6 MB / 0.8885 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.007332/0.01908, allocations: 6.908 MB / 0.8953 GB, free: 4.781 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005526/0.01963, allocations: 91.19 kB / 0.8954 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0008214/0.02045, allocations: 396.9 kB / 0.8957 GB, free: 4.301 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002558/0.02301, allocations: 1.7 MB / 0.8974 GB, free: 2.598 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009003/0.02391, allocations: 0.6588 MB / 0.898 GB, free: 1.938 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002058/0.02597, allocations: 2.851 MB / 0.9008 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.027, allocations: 1.196 MB / 0.902 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.02858, allocations: 2.098 MB / 0.904 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008328/0.02942, allocations: 0.9778 MB / 0.905 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.02957, allocations: 156 kB / 0.9051 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004171/0.02999, allocations: 315.6 kB / 0.9054 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.000385/0.03037, allocations: 0.6426 MB / 0.9061 GB, free: 9.656 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.000465/0.03084, allocations: 0.6429 MB / 0.9067 GB, free: 9.012 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.03203, allocations: 1.537 MB / 0.9082 GB, free: 7.469 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.03204, allocations: 0 / 0.9082 GB, free: 7.469 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.52e-07/0.03204, allocations: 0 / 0.9082 GB, free: 7.469 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.03205, allocations: 0 / 0.9082 GB, free: 7.469 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002577/0.03463, allocations: 2.186 MB / 0.9103 GB, free: 5.238 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.03467, allocations: 12.03 kB / 0.9103 GB, free: 5.227 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006499/0.04117, allocations: 1.794 MB / 0.9121 GB, free: 3.43 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/0.04286, allocations: 1.231 MB / 0.9133 GB, free: 2.152 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.703e-05/0.04292, allocations: 90.67 kB / 0.9134 GB, free: 2.062 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002137/0.04314, allocations: 128.3 kB / 0.9135 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00291/0.04605, allocations: 1.951 MB / 0.9154 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.516e-05/0.04608, allocations: 11.88 kB / 0.9154 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/0.04622, allocations: 51.98 kB / 0.9155 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004416/0.04666, allocations: 190.1 kB / 0.9157 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.04837, allocations: 0.8564 MB / 0.9165 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008279/0.05665, allocations: 8.355 MB / 0.9247 GB, free: 6.066 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.05843, allocations: 0.8309 MB / 0.9255 GB, free: 5.227 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006295/0.05906, allocations: 371 kB / 0.9258 GB, free: 4.863 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.222e-05/0.05912, allocations: 16.98 kB / 0.9258 GB, free: 4.848 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.05916, allocations: 54.38 kB / 0.9259 GB, free: 4.785 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=89): time 2.715e-06/0.05916, allocations: 0 / 0.9259 GB, free: 4.785 MB / 0.8855 GB Notification: Performance of matching and sorting (n=153): time 0.01367/0.07283, allocations: 5.906 MB / 0.9317 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.07287, allocations: 68.72 kB / 0.9317 GB, free: 14.76 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009926/0.07386, allocations: 1.008 MB / 0.9327 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.07397, allocations: 57.7 kB / 0.9328 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004854/0.07446, allocations: 0.8059 MB / 0.9335 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003978/0.07485, allocations: 0.5461 MB / 0.9341 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004804/0.07534, allocations: 285.1 kB / 0.9344 GB, free: 12.03 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.07545, allocations: 476.8 kB / 0.9348 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008861/0.07633, allocations: 487.7 kB / 0.9353 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.07744, allocations: 0.8508 MB / 0.9361 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00202/0.07946, allocations: 1.375 MB / 0.9374 GB, free: 8.602 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.07947, allocations: 11.88 kB / 0.9375 GB, free: 8.59 MB / 0.9011 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.005935/0.0854, allocations: 2.798 MB / 0.9402 GB, free: 5.746 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.08543, allocations: 11.94 kB / 0.9402 GB, free: 5.734 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.08544, allocations: 8 kB / 0.9402 GB, free: 5.727 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005689/0.09113, allocations: 1.67 MB / 0.9418 GB, free: 4.027 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009309/0.09206, allocations: 311.4 kB / 0.9421 GB, free: 3.723 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01507/0.1071, allocations: 19.39 MB / 0.9611 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008373/0.108, allocations: 191.7 kB / 0.9613 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.1081, allocations: 71.95 kB / 0.9613 GB, free: 15.11 MB / 0.9323 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.0003461/0.1084, allocations: 240.4 kB / 0.9615 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002459/0.1087, allocations: 215 kB / 0.9618 GB, free: 14.65 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004384/0.113, allocations: 2.718 MB / 0.9644 GB, free: 11.88 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.1131, allocations: 12 kB / 0.9644 GB, free: 11.87 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.1131, allocations: 24 kB / 0.9644 GB, free: 11.84 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.587e-06/0.1131, allocations: 7.969 kB / 0.9644 GB, free: 11.84 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005918/0.119, allocations: 4.093 MB / 0.9684 GB, free: 7.625 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.119, allocations: 0 / 0.9684 GB, free: 7.625 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005583/0.1196, allocations: 243.6 kB / 0.9687 GB, free: 7.387 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003923/0.1235, allocations: 1.603 MB / 0.9702 GB, free: 5.754 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.209e-05/0.1236, allocations: 43.97 kB / 0.9703 GB, free: 5.711 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01335/0.1369, allocations: 19.29 MB / 0.9891 GB, free: 1.453 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.686e-06/0.1369, allocations: 4 kB / 0.9891 GB, free: 1.449 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004128/0.141, allocations: 2.615 MB / 0.9917 GB, free: 14.73 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005183/0.1416, allocations: 390.7 kB / 0.9921 GB, free: 14.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.1417, allocations: 32 kB / 0.9921 GB, free: 14.31 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007745/0.1425, allocations: 203.7 kB / 0.9923 GB, free: 14.11 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003434/0.1428, allocations: 164.8 kB / 0.9924 GB, free: 13.95 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.664e-05/0.1429, allocations: 47.97 kB / 0.9925 GB, free: 13.9 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0005124/0.1434, allocations: 0.6175 MB / 0.9931 GB, free: 13.28 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.1434, allocations: 0 / 0.9931 GB, free: 13.28 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001352/0.1448, allocations: 0.6601 MB / 0.9937 GB, free: 12.62 MB / 0.9636 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.0002133/0.145, allocations: 139.2 kB / 0.9939 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003568/0.1485, allocations: 3.432 MB / 0.9972 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1485, allocations: 0 / 0.9972 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002449/0.151, allocations: 2.792 MB / 0.9999 GB, free: 5.965 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.1522, allocations: 0.5231 MB / 1 GB, free: 5.461 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0038/0.156, allocations: 3.207 MB / 1.004 GB, free: 2.172 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/0.1564, allocations: 0.5082 MB / 1.004 GB, free: 1.629 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0006731/0.1571, allocations: 313.2 kB / 1.004 GB, free: 1.316 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002522/0.1573, allocations: 100.4 kB / 1.004 GB, free: 1.219 MB / 0.9636 GB Notification: Performance of SimCode: time 7.51e-07/0.1573, allocations: 0 / 1.004 GB, free: 1.219 MB / 0.9636 GB Notification: Performance of Templates: time 0.04449/0.2018, allocations: 47.51 MB / 1.051 GB, free: 2.395 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.623558802995831]