Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009451/0.0009451, allocations: 93.06 kB / 19.65 MB, free: 276 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.001352/0.001352, allocations: 165 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.9412/0.9412, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.096/2.096, allocations: 429.5 MB / 0.6733 GB, free: 4.027 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.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.718e-05/2.883e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.0195/0.01953, allocations: 18.86 MB / 0.8966 GB, free: 3.367 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01276/0.03229, allocations: 9.51 MB / 0.9059 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002998/0.03529, allocations: 194.5 kB / 0.9061 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001953/0.03724, allocations: 0.7831 MB / 0.9068 GB, free: 8.863 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.006911/0.04415, allocations: 2.57 MB / 0.9093 GB, free: 6.277 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003113/0.04727, allocations: 1.583 MB / 0.9109 GB, free: 4.691 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.008252/0.05552, allocations: 7.701 MB / 0.9184 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005924/0.06144, allocations: 4.577 MB / 0.9229 GB, free: 8.262 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006863/0.06831, allocations: 4.881 MB / 0.9276 GB, free: 3.371 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0048/0.07311, allocations: 3.246 MB / 0.9308 GB, free: 120 kB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.001288/0.07439, allocations: 0.5899 MB / 0.9314 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001899/0.07629, allocations: 0.6872 MB / 0.9321 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.002263/0.07855, allocations: 2.56 MB / 0.9346 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.002961/0.08152, allocations: 2.019 MB / 0.9365 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.004506/0.08602, allocations: 4.861 MB / 0.9413 GB, free: 5.375 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.08603, allocations: 0 / 0.9413 GB, free: 5.375 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.993e-06/0.08603, allocations: 0 / 0.9413 GB, free: 5.375 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001027/0.08613, allocations: 0 / 0.9413 GB, free: 5.375 MB / 0.9011 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.005886/0.09202, allocations: 5.292 MB / 0.9465 GB, free: 8 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.09206, allocations: 8.031 kB / 0.9465 GB, free: 0 / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003462/0.09552, allocations: 1.562 MB / 0.948 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0043/0.09982, allocations: 3.008 MB / 0.9509 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001669/0.09999, allocations: 316.8 kB / 0.9512 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005554/0.1005, allocations: 432.3 kB / 0.9516 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00629/0.1068, allocations: 4.552 MB / 0.9561 GB, free: 5.547 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.555e-05/0.1069, allocations: 31.75 kB / 0.9561 GB, free: 5.516 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003003/0.1072, allocations: 188 kB / 0.9563 GB, free: 5.332 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006375/0.1079, allocations: 372 kB / 0.9566 GB, free: 4.965 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003409/0.1113, allocations: 1.621 MB / 0.9582 GB, free: 3.316 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01813/0.1294, allocations: 21.18 MB / 0.9789 GB, free: 13.52 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008899/0.1303, allocations: 0.5668 MB / 0.9795 GB, free: 12.95 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006743/0.131, allocations: 0.5304 MB / 0.98 GB, free: 12.41 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.292e-05/0.131, allocations: 29.31 kB / 0.98 GB, free: 12.39 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.1311, allocations: 50.7 kB / 0.9801 GB, free: 12.32 MB / 0.948 GB Notification: Performance of pre-optimization done (n=130): time 3.647e-06/0.1311, allocations: 4 kB / 0.9801 GB, free: 12.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=199): time 0.01205/0.1431, allocations: 6.615 MB / 0.9865 GB, free: 5.648 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.1432, allocations: 73.41 kB / 0.9866 GB, free: 5.566 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/0.1448, allocations: 1.696 MB / 0.9883 GB, free: 3.836 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.1449, allocations: 61.7 kB / 0.9883 GB, free: 3.77 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009786/0.1458, allocations: 2.125 MB / 0.9904 GB, free: 1.625 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004579/0.1463, allocations: 0.7244 MB / 0.9911 GB, free: 0.8945 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004874/0.1468, allocations: 414.4 kB / 0.9915 GB, free: 492 kB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.1469, allocations: 476.8 kB / 0.9919 GB, free: 12 kB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009839/0.1479, allocations: 0.5082 MB / 0.9924 GB, free: 15.5 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/0.1491, allocations: 1.335 MB / 0.9937 GB, free: 13.82 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002129/0.1512, allocations: 2.018 MB / 0.9957 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/0.1512, allocations: 8 kB / 0.9957 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.005864/0.1571, allocations: 3.308 MB / 0.999 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/0.1571, allocations: 20.03 kB / 0.999 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.1571, allocations: 16 kB / 0.999 GB, free: 8.035 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004482/0.1616, allocations: 1.735 MB / 1.001 GB, free: 6.227 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009506/0.1626, allocations: 379.4 kB / 1.001 GB, free: 5.855 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0213/0.1839, allocations: 35.83 MB / 1.036 GB, free: 15.81 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.1854, allocations: 123.9 kB / 1.036 GB, free: 15.69 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/0.1855, allocations: 95.97 kB / 1.036 GB, free: 15.59 MB / 1.01 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.0009595/0.1865, allocations: 296 kB / 1.037 GB, free: 15.29 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004036/0.1869, allocations: 334.4 kB / 1.037 GB, free: 14.96 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004451/0.1914, allocations: 2.896 MB / 1.04 GB, free: 11.98 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.1914, allocations: 24.08 kB / 1.04 GB, free: 11.95 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-05/0.1914, allocations: 20 kB / 1.04 GB, free: 11.93 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.1914, allocations: 15.94 kB / 1.04 GB, free: 11.92 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009657/0.2011, allocations: 6.284 MB / 1.046 GB, free: 5.391 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.2011, allocations: 11.94 kB / 1.046 GB, free: 5.379 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004846/0.2016, allocations: 219.6 kB / 1.046 GB, free: 5.164 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004329/0.2059, allocations: 1.622 MB / 1.048 GB, free: 3.465 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001612/0.2061, allocations: 40 kB / 1.048 GB, free: 3.426 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4335/0.6396, allocations: 35.75 MB / 1.083 GB, free: 138 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.6396, allocations: 11.94 kB / 1.083 GB, free: 138 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004123/0.6437, allocations: 3.014 MB / 1.086 GB, free: 137.1 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007607/0.6445, allocations: 0.5089 MB / 1.086 GB, free: 137.1 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/0.6447, allocations: 42.03 kB / 1.086 GB, free: 137.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007002/0.6454, allocations: 134.1 kB / 1.086 GB, free: 137.1 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004794/0.6459, allocations: 201.5 kB / 1.086 GB, free: 137.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.455e-05/0.6459, allocations: 56.88 kB / 1.086 GB, free: 137.1 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0008552/0.6468, allocations: 0.9764 MB / 1.087 GB, free: 136.9 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6468, allocations: 0 / 1.087 GB, free: 136.9 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002388/0.6492, allocations: 1.049 MB / 1.088 GB, free: 136.9 MB / 1.01 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.0002459/0.6494, allocations: 164.3 kB / 1.089 GB, free: 136.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004646/0.6541, allocations: 5.416 MB / 1.094 GB, free: 133.6 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.6541, allocations: 5.656 kB / 1.094 GB, free: 133.6 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003262/0.6573, allocations: 4.57 MB / 1.098 GB, free: 130.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002371/0.6597, allocations: 0.9111 MB / 1.099 GB, free: 130.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009135/0.6689, allocations: 7.297 MB / 1.106 GB, free: 127.3 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/0.6701, allocations: 1.156 MB / 1.108 GB, free: 127.1 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001188/0.6713, allocations: 437.2 kB / 1.108 GB, free: 127 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/0.6716, allocations: 142.4 kB / 1.108 GB, free: 127 MB / 1.01 GB Notification: Performance of SimCode: time 1.693e-06/0.6716, allocations: 0 / 1.108 GB, free: 127 MB / 1.01 GB Notification: Performance of Templates: time 0.07459/0.7462, allocations: 61.49 MB / 1.168 GB, free: 111.3 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 7.256748195271939]