Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.0008896/0.0008896, allocations: 82.64 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.000979/0.000979, 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.9341/0.9341, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.69/1.69, allocations: 359 MB / 0.6055 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 4 kB / 0.7876 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.46e-05, allocations: 2.875 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.01455/0.01457, allocations: 18.33 MB / 0.8055 GB, free: 9.793 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01134/0.02592, allocations: 9.435 MB / 0.8147 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002396/0.02831, allocations: 194.5 kB / 0.8149 GB, free: 200 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001673/0.02998, allocations: 0.7801 MB / 0.8156 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.004708/0.03469, allocations: 2.592 MB / 0.8182 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002768/0.03746, allocations: 1.583 MB / 0.8197 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.007779/0.04524, allocations: 7.693 MB / 0.8272 GB, free: 3.504 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005425/0.05067, allocations: 4.581 MB / 0.8317 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006071/0.05674, allocations: 4.901 MB / 0.8365 GB, free: 9.887 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004198/0.06093, allocations: 3.293 MB / 0.8397 GB, free: 6.586 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001758/0.06269, allocations: 0.5898 MB / 0.8403 GB, free: 5.996 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00182/0.06451, allocations: 0.6794 MB / 0.8409 GB, free: 5.316 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.002137/0.06665, allocations: 2.553 MB / 0.8434 GB, free: 2.758 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.003407/0.07006, allocations: 1.996 MB / 0.8454 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.005381/0.07544, allocations: 4.842 MB / 0.8501 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.07545, allocations: 4 kB / 0.8501 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.483e-06/0.07545, allocations: 4 kB / 0.8501 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.000322/0.07577, allocations: 0 / 0.8501 GB, free: 11.89 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.006591/0.08236, allocations: 5.272 MB / 0.8553 GB, free: 6.547 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.0824, allocations: 8.031 kB / 0.8553 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002887/0.08529, allocations: 1.398 MB / 0.8566 GB, free: 5.137 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003271/0.08856, allocations: 2.73 MB / 0.8593 GB, free: 2.32 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/0.08872, allocations: 312.8 kB / 0.8596 GB, free: 2.012 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000403/0.08912, allocations: 428.3 kB / 0.86 GB, free: 1.594 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004353/0.09347, allocations: 4.27 MB / 0.8642 GB, free: 12.82 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.741e-05/0.09356, allocations: 23.77 kB / 0.8642 GB, free: 12.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002579/0.09382, allocations: 184 kB / 0.8644 GB, free: 12.62 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003814/0.0942, allocations: 316.1 kB / 0.8647 GB, free: 12.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002015/0.09621, allocations: 1.285 MB / 0.8659 GB, free: 10.99 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01539/0.1116, allocations: 19.98 MB / 0.8855 GB, free: 6.414 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006008/0.1122, allocations: 477.5 kB / 0.8859 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004422/0.1126, allocations: 467.1 kB / 0.8864 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.228e-05/0.1127, allocations: 25.31 kB / 0.8864 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.1127, allocations: 54.64 kB / 0.8864 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=130): time 3.036e-06/0.1127, allocations: 4 kB / 0.8864 GB, free: 5.391 MB / 0.8386 GB Notification: Performance of matching and sorting (n=199): time 0.009716/0.1225, allocations: 5.678 MB / 0.892 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.1225, allocations: 73.41 kB / 0.892 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.1238, allocations: 1.671 MB / 0.8937 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.466e-05/0.1238, allocations: 57.7 kB / 0.8937 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009241/0.1248, allocations: 2.148 MB / 0.8958 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005898/0.1254, allocations: 0.7282 MB / 0.8965 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004346/0.1258, allocations: 422.2 kB / 0.8969 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.659e-05/0.1259, allocations: 480.8 kB / 0.8974 GB, free: 10 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004773/0.1264, allocations: 388.3 kB / 0.8978 GB, free: 9.621 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008165/0.1272, allocations: 1.214 MB / 0.899 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.1286, allocations: 1.795 MB / 0.9007 GB, free: 5.941 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.1286, allocations: 8 kB / 0.9007 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.004197/0.1328, allocations: 3.006 MB / 0.9037 GB, free: 2.84 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.1329, allocations: 18.12 kB / 0.9037 GB, free: 2.824 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/0.1329, allocations: 20 kB / 0.9037 GB, free: 2.805 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003746/0.1366, allocations: 1.688 MB / 0.9053 GB, free: 1.039 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006873/0.1373, allocations: 335.4 kB / 0.9057 GB, free: 0.7109 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01791/0.1552, allocations: 35.09 MB / 0.9399 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.1565, allocations: 63.98 kB / 0.94 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.1566, allocations: 68 kB / 0.9401 GB, free: 11.42 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (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.0009117/0.1576, allocations: 300.6 kB / 0.9403 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003539/0.1579, allocations: 334.3 kB / 0.9407 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003557/0.1615, allocations: 2.642 MB / 0.9432 GB, free: 8.055 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.1615, allocations: 20 kB / 0.9433 GB, free: 8.035 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-05/0.1615, allocations: 24 kB / 0.9433 GB, free: 8.012 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.1615, allocations: 7.969 kB / 0.9433 GB, free: 8.004 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007141/0.1687, allocations: 5.046 MB / 0.9482 GB, free: 2.727 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.1687, allocations: 4 kB / 0.9482 GB, free: 2.723 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/0.1691, allocations: 175.7 kB / 0.9484 GB, free: 2.551 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003445/0.1725, allocations: 1.591 MB / 0.9499 GB, free: 0.8828 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.1726, allocations: 40 kB / 0.95 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01697/0.1896, allocations: 34.93 MB / 0.9841 GB, free: 11.84 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.1896, allocations: 8 kB / 0.9841 GB, free: 11.84 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003757/0.1934, allocations: 2.8 MB / 0.9868 GB, free: 8.824 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000788/0.1941, allocations: 466.1 kB / 0.9873 GB, free: 8.367 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/0.1943, allocations: 43.95 kB / 0.9873 GB, free: 8.324 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005503/0.1949, allocations: 47.98 kB / 0.9874 GB, free: 8.277 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004578/0.1953, allocations: 197.5 kB / 0.9876 GB, free: 8.086 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.591e-05/0.1954, allocations: 55.92 kB / 0.9876 GB, free: 8.031 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007071/0.1961, allocations: 0.8946 MB / 0.9885 GB, free: 7.121 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1961, allocations: 0 / 0.9885 GB, free: 7.121 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002481/0.1986, allocations: 1.055 MB / 0.9895 GB, free: 6.066 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000232/0.1988, allocations: 166.9 kB / 0.9897 GB, free: 5.891 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004452/0.2033, allocations: 5.192 MB / 0.9947 GB, free: 380 kB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/0.2033, allocations: 7.938 kB / 0.9948 GB, free: 372 kB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002973/0.2063, allocations: 4.41 MB / 0.9991 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002095/0.2083, allocations: 0.9104 MB / 0.9999 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.2188, allocations: 7.258 MB / 1.007 GB, free: 3.34 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/0.2201, allocations: 1.159 MB / 1.008 GB, free: 2.152 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.00103/0.2211, allocations: 318.5 kB / 1.008 GB, free: 1.836 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/0.2222, allocations: 0.7867 MB / 1.009 GB, free: 1.047 MB / 0.9636 GB Notification: Performance of SimCode: time 1.784e-06/0.2222, allocations: 0 / 1.009 GB, free: 1.047 MB / 0.9636 GB Notification: Performance of Templates: time 0.3814/0.6035, allocations: 64.64 MB / 1.072 GB, free: 243 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.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.2444796920754015]