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.001198/0.001198, 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.001201/0.001201, allocations: 169 kB / 23.02 MB, free: 1.547 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.9561/0.9561, allocations: 177.1 MB / 203.4 MB, free: 5.578 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.015/2.015, allocations: 429.5 MB / 0.6732 GB, free: 4.055 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.322e-06/1.322e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.467e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.008935/0.00896, allocations: 10.61 MB / 0.8885 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.008043/0.017, allocations: 6.915 MB / 0.8953 GB, free: 4.762 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/0.01817, allocations: 87.25 kB / 0.8954 GB, free: 4.676 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.01923, allocations: 385 kB / 0.8957 GB, free: 4.297 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.003783/0.02301, allocations: 1.709 MB / 0.8974 GB, free: 2.586 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.02426, allocations: 0.655 MB / 0.898 GB, free: 1.93 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003189/0.02745, allocations: 2.843 MB / 0.9008 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001655/0.0291, allocations: 1.203 MB / 0.902 GB, free: 13.83 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002495/0.0316, allocations: 2.106 MB / 0.904 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001343/0.03294, allocations: 0.9894 MB / 0.905 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002874/0.03323, allocations: 160 kB / 0.9052 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007299/0.03396, allocations: 307.6 kB / 0.9055 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004884/0.03445, allocations: 0.6464 MB / 0.9061 GB, free: 9.625 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007717/0.03522, allocations: 0.639 MB / 0.9067 GB, free: 8.984 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001972/0.03719, allocations: 1.538 MB / 0.9082 GB, free: 7.441 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.03719, allocations: 4 kB / 0.9082 GB, free: 7.438 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.543e-06/0.0372, allocations: 3.938 kB / 0.9082 GB, free: 7.434 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.21e-05/0.03725, allocations: 0 / 0.9082 GB, free: 7.434 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.002421/0.03967, allocations: 2.179 MB / 0.9103 GB, free: 5.211 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.03971, allocations: 12.03 kB / 0.9104 GB, free: 5.199 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004609/0.04432, allocations: 1.774 MB / 0.9121 GB, free: 3.422 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001571/0.04589, allocations: 1.217 MB / 0.9133 GB, free: 2.16 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.909e-05/0.04594, allocations: 86.69 kB / 0.9134 GB, free: 2.074 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/0.04612, allocations: 124.3 kB / 0.9135 GB, free: 1.953 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002527/0.04864, allocations: 1.951 MB / 0.9154 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.791e-05/0.04868, allocations: 15.83 kB / 0.9154 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.0488, allocations: 55.97 kB / 0.9155 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003802/0.04918, allocations: 194.1 kB / 0.9156 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.05058, allocations: 0.8525 MB / 0.9165 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007602/0.05818, allocations: 8.445 MB / 0.9247 GB, free: 5.984 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.05967, allocations: 0.8347 MB / 0.9255 GB, free: 5.141 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004969/0.06016, allocations: 363.1 kB / 0.9259 GB, free: 4.785 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.413e-05/0.06022, allocations: 16.98 kB / 0.9259 GB, free: 4.77 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.06025, allocations: 54.33 kB / 0.926 GB, free: 4.707 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=89): time 3.787e-06/0.06025, allocations: 0 / 0.926 GB, free: 4.707 MB / 0.8855 GB Notification: Performance of matching and sorting (n=153): time 0.01236/0.07262, allocations: 6.073 MB / 0.9319 GB, free: 14.6 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.07266, allocations: 64.72 kB / 0.9319 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.07366, allocations: 1.008 MB / 0.9329 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002213/0.07389, allocations: 53.7 kB / 0.933 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004235/0.07431, allocations: 0.8136 MB / 0.9338 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004633/0.07477, allocations: 0.5461 MB / 0.9343 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003776/0.07515, allocations: 281.1 kB / 0.9346 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.07525, allocations: 484.8 kB / 0.935 GB, free: 11.31 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007503/0.076, allocations: 487.7 kB / 0.9355 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.07701, allocations: 0.8508 MB / 0.9363 GB, free: 9.855 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001636/0.07864, allocations: 1.379 MB / 0.9377 GB, free: 8.348 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.892e-06/0.07865, allocations: 3.938 kB / 0.9377 GB, free: 8.344 MB / 0.9011 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.0054/0.08405, allocations: 2.856 MB / 0.9405 GB, free: 5.441 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.411e-05/0.08409, allocations: 11.94 kB / 0.9405 GB, free: 5.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.0841, allocations: 8 kB / 0.9405 GB, free: 5.422 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005854/0.08996, allocations: 1.834 MB / 0.9423 GB, free: 3.559 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009008/0.09086, allocations: 315.4 kB / 0.9426 GB, free: 3.25 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01611/0.107, allocations: 19.47 MB / 0.9616 GB, free: 14.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.1082, allocations: 199.7 kB / 0.9618 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/0.1084, allocations: 68 kB / 0.9619 GB, free: 14.54 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.0004809/0.1088, allocations: 243.4 kB / 0.9621 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003047/0.1091, allocations: 214.9 kB / 0.9623 GB, free: 14.08 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005197/0.1143, allocations: 2.776 MB / 0.965 GB, free: 11.26 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.1144, allocations: 16 kB / 0.965 GB, free: 11.24 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.493e-05/0.1144, allocations: 16 kB / 0.965 GB, free: 11.23 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.1144, allocations: 7.969 kB / 0.965 GB, free: 11.22 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006993/0.1214, allocations: 4.202 MB / 0.9691 GB, free: 6.898 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.1214, allocations: 4 kB / 0.9691 GB, free: 6.895 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006098/0.122, allocations: 239.6 kB / 0.9694 GB, free: 6.66 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005203/0.1272, allocations: 1.81 MB / 0.9711 GB, free: 4.824 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001748/0.1274, allocations: 39.97 kB / 0.9712 GB, free: 4.785 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01455/0.142, allocations: 19.38 MB / 0.9901 GB, free: 440 kB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.142, allocations: 4 kB / 0.9901 GB, free: 436 kB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004979/0.1469, allocations: 2.717 MB / 0.9928 GB, free: 13.6 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006647/0.1476, allocations: 398.7 kB / 0.9931 GB, free: 13.21 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001751/0.1478, allocations: 31.94 kB / 0.9932 GB, free: 13.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008209/0.1486, allocations: 203.7 kB / 0.9934 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004151/0.149, allocations: 156.9 kB / 0.9935 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/0.1491, allocations: 55.97 kB / 0.9936 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.000563/0.1497, allocations: 0.6175 MB / 0.9942 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1497, allocations: 0 / 0.9942 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001498/0.1512, allocations: 0.6719 MB / 0.9948 GB, free: 11.48 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.0002641/0.1514, allocations: 141 kB / 0.995 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003924/0.1554, allocations: 3.436 MB / 0.9983 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.1554, allocations: 0 / 0.9983 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002853/0.1582, allocations: 2.784 MB / 1.001 GB, free: 4.824 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.1596, allocations: 0.5308 MB / 1.002 GB, free: 4.309 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004398/0.164, allocations: 3.222 MB / 1.005 GB, free: 1.012 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005049/0.1645, allocations: 0.5082 MB / 1.005 GB, free: 484 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0008175/0.1654, allocations: 317.2 kB / 1.006 GB, free: 160 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/0.1656, allocations: 96.44 kB / 1.006 GB, free: 64 kB / 0.9636 GB Notification: Performance of SimCode: time 1.914e-06/0.1656, allocations: 0 / 1.006 GB, free: 64 kB / 0.9636 GB Notification: Performance of Templates: time 0.3592/0.5249, allocations: 50.77 MB / 1.055 GB, free: 186 MB / 1.01 GB " [Timeout remaining time 299] 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.429688312113285]