Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.0009953/0.0009953, 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.000991/0.000991, allocations: 165 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.9228/0.9228, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.081/2.081, 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.175e-05, allocations: 2.812 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.0342/0.03422, allocations: 17.48 MB / 0.8953 GB, free: 4.758 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.008301/0.04252, allocations: 5.092 MB / 0.9002 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001575/0.04409, allocations: 194.5 kB / 0.9004 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.0456, allocations: 0.7524 MB / 0.9012 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002095/0.0477, allocations: 1.647 MB / 0.9028 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.04955, allocations: 1.556 MB / 0.9043 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.004532/0.05409, allocations: 7.348 MB / 0.9115 GB, free: 4.125 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004392/0.05848, allocations: 5.081 MB / 0.9164 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003414/0.06189, allocations: 4.558 MB / 0.9209 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00289/0.06478, allocations: 3.476 MB / 0.9243 GB, free: 6.867 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0005845/0.06537, allocations: 0.6445 MB / 0.9249 GB, free: 6.223 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008256/0.06619, allocations: 0.7419 MB / 0.9256 GB, free: 5.48 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.001506/0.0677, allocations: 2.767 MB / 0.9283 GB, free: 2.707 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.001632/0.06933, allocations: 2.043 MB / 0.9303 GB, free: 0.6602 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.003205/0.07253, allocations: 5.053 MB / 0.9353 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.07254, allocations: 0 / 0.9353 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.162e-06/0.07254, allocations: 0 / 0.9353 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.366e-05/0.07259, allocations: 4 kB / 0.9353 GB, free: 11.59 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.00491/0.0775, allocations: 5.158 MB / 0.9403 GB, free: 6.363 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.07754, allocations: 8.031 kB / 0.9403 GB, free: 6.355 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004157/0.08169, allocations: 1.562 MB / 0.9418 GB, free: 4.789 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005351/0.08704, allocations: 2.962 MB / 0.9447 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003121/0.08736, allocations: 349.7 kB / 0.9451 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001099/0.08846, allocations: 472.2 kB / 0.9455 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0104/0.09886, allocations: 4.768 MB / 0.9502 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.425e-05/0.09895, allocations: 24.02 kB / 0.9502 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002937/0.09925, allocations: 200.3 kB / 0.9504 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000244/0.09949, allocations: 320.9 kB / 0.9507 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005073/0.1046, allocations: 1.762 MB / 0.9524 GB, free: 9.336 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01966/0.1242, allocations: 25.07 MB / 0.9769 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.1253, allocations: 0.804 MB / 0.9777 GB, free: 14.68 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006039/0.1259, allocations: 0.5074 MB / 0.9782 GB, free: 14.18 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-05/0.126, allocations: 25.31 kB / 0.9782 GB, free: 14.15 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.1262, allocations: 46.7 kB / 0.9782 GB, free: 14.09 MB / 0.948 GB Notification: Performance of pre-optimization done (n=133): time 4.258e-06/0.1262, allocations: 0 / 0.9782 GB, free: 14.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=136): time 0.006262/0.1324, allocations: 3.749 MB / 0.9819 GB, free: 10.29 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.1325, allocations: 68.66 kB / 0.982 GB, free: 10.21 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.1335, allocations: 1.327 MB / 0.9833 GB, free: 8.867 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.677e-05/0.1336, allocations: 49.7 kB / 0.9833 GB, free: 8.812 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009897/0.1346, allocations: 2.103 MB / 0.9854 GB, free: 6.691 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002741/0.1348, allocations: 0.5075 MB / 0.9859 GB, free: 6.18 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003203/0.1352, allocations: 357 kB / 0.9862 GB, free: 5.824 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.461e-05/0.1353, allocations: 480.7 kB / 0.9867 GB, free: 5.352 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000489/0.1358, allocations: 319.8 kB / 0.987 GB, free: 5.039 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008869/0.1366, allocations: 1.29 MB / 0.9882 GB, free: 3.328 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.1382, allocations: 1.779 MB / 0.99 GB, free: 1.125 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.1382, allocations: 4 kB / 0.99 GB, free: 1.121 MB / 0.948 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.002913/0.1411, allocations: 2.174 MB / 0.9921 GB, free: 14.89 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.1411, allocations: 12.94 kB / 0.9921 GB, free: 14.88 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.1411, allocations: 24 kB / 0.9921 GB, free: 14.85 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001588/0.1427, allocations: 0.7104 MB / 0.9928 GB, free: 14.09 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006564/0.1434, allocations: 351.4 kB / 0.9931 GB, free: 13.75 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.012/0.1554, allocations: 23.8 MB / 1.016 GB, free: 4.48 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009189/0.1563, allocations: 103.8 kB / 1.016 GB, free: 4.379 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.1564, allocations: 84 kB / 1.017 GB, free: 4.297 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.0008174/0.1572, allocations: 284 kB / 1.017 GB, free: 4.008 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002466/0.1575, allocations: 250.8 kB / 1.017 GB, free: 3.762 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00217/0.1596, allocations: 1.618 MB / 1.019 GB, free: 2.074 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.1596, allocations: 16 kB / 1.019 GB, free: 2.059 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/0.1597, allocations: 12 kB / 1.019 GB, free: 2.047 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.1597, allocations: 7.969 kB / 1.019 GB, free: 2.039 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006369/0.166, allocations: 4.779 MB / 1.023 GB, free: 13.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.166, allocations: 4 kB / 1.023 GB, free: 13.09 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004287/0.1665, allocations: 176.2 kB / 1.024 GB, free: 12.91 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001406/0.1679, allocations: 0.6519 MB / 1.024 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.75e-05/0.1679, allocations: 24 kB / 1.024 GB, free: 12.19 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01106/0.179, allocations: 22.72 MB / 1.046 GB, free: 3.992 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.179, allocations: 4 kB / 1.046 GB, free: 3.988 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002752/0.1818, allocations: 1.87 MB / 1.048 GB, free: 1.969 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000574/0.1823, allocations: 354.8 kB / 1.049 GB, free: 1.621 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.1824, allocations: 31.98 kB / 1.049 GB, free: 1.59 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004157/0.1829, allocations: 75.91 kB / 1.049 GB, free: 1.516 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002646/0.1831, allocations: 128.6 kB / 1.049 GB, free: 1.391 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.579e-05/0.1832, allocations: 36 kB / 1.049 GB, free: 1.355 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006886/0.1839, allocations: 0.7536 MB / 1.05 GB, free: 0.6094 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.1839, allocations: 0 / 1.05 GB, free: 0.6094 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.3954/0.5793, allocations: 0.7946 MB / 1.05 GB, free: 173.4 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003882/0.5797, allocations: 141.1 kB / 1.05 GB, free: 173.3 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003101/0.5828, allocations: 3.51 MB / 1.054 GB, free: 171.2 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.5828, allocations: 0.75 kB / 1.054 GB, free: 171.2 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001758/0.5846, allocations: 2.854 MB / 1.057 GB, free: 169.1 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/0.5866, allocations: 0.7154 MB / 1.057 GB, free: 169.1 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00857/0.5951, allocations: 6.556 MB / 1.064 GB, free: 166.3 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/0.5963, allocations: 1.136 MB / 1.065 GB, free: 166.2 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0008413/0.5971, allocations: 375 kB / 1.065 GB, free: 166.2 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.5973, allocations: 111.6 kB / 1.065 GB, free: 166.2 MB / 1.01 GB Notification: Performance of SimCode: time 1.984e-06/0.5973, allocations: 0 / 1.065 GB, free: 166.2 MB / 1.01 GB Notification: Performance of Templates: time 0.05069/0.648, allocations: 36.64 MB / 1.101 GB, free: 162.4 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.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.448455029167235]