Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.001038/0.001038, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001034/0.001034, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9619/0.9619, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.837/1.837, allocations: 359 MB / 0.6052 GB, free: 11 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_L_N,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.601e-05/1.827e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.01461/0.01463, allocations: 18.32 MB / 0.805 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01025/0.02487, allocations: 5.575 MB / 0.8105 GB, free: 4.516 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00177/0.02664, allocations: 210.4 kB / 0.8107 GB, free: 4.309 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.02811, allocations: 0.8106 MB / 0.8114 GB, free: 3.492 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002263/0.03037, allocations: 1.78 MB / 0.8132 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002729/0.0331, allocations: 1.756 MB / 0.8149 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.006061/0.03916, allocations: 8.475 MB / 0.8232 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004976/0.04413, allocations: 6.019 MB / 0.8291 GB, free: 1.324 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004119/0.04825, allocations: 5.372 MB / 0.8343 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003416/0.05167, allocations: 4.25 MB / 0.8385 GB, free: 7.688 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0007222/0.05239, allocations: 0.7773 MB / 0.8392 GB, free: 6.91 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.05341, allocations: 0.8747 MB / 0.8401 GB, free: 6.035 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.00185/0.05526, allocations: 3.314 MB / 0.8433 GB, free: 2.715 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001712/0.05697, allocations: 2.398 MB / 0.8456 GB, free: 320 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.004091/0.06106, allocations: 5.965 MB / 0.8515 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.06107, allocations: 8 kB / 0.8515 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.453e-06/0.06107, allocations: 0 / 0.8515 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.136e-05/0.06112, allocations: 3.984 kB / 0.8515 GB, free: 10.32 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.00568/0.0668, allocations: 5.991 MB / 0.8573 GB, free: 4.258 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/0.06686, allocations: 12.03 kB / 0.8573 GB, free: 4.246 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003218/0.07008, allocations: 1.686 MB / 0.859 GB, free: 2.555 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003422/0.0735, allocations: 3.281 MB / 0.8622 GB, free: 15.21 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002245/0.07373, allocations: 415.4 kB / 0.8626 GB, free: 14.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006147/0.07434, allocations: 0.5393 MB / 0.8631 GB, free: 14.27 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00902/0.08336, allocations: 5.48 MB / 0.8685 GB, free: 8.285 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001337/0.0835, allocations: 23.97 kB / 0.8685 GB, free: 8.262 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005369/0.08403, allocations: 240.3 kB / 0.8687 GB, free: 8.027 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003637/0.0844, allocations: 354.7 kB / 0.8691 GB, free: 7.68 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00407/0.08847, allocations: 2.042 MB / 0.8711 GB, free: 5.629 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02226/0.1107, allocations: 27.02 MB / 0.8974 GB, free: 9.879 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.1123, allocations: 1.255 MB / 0.8987 GB, free: 8.621 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.1134, allocations: 0.8765 MB / 0.8995 GB, free: 7.742 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.353e-05/0.1134, allocations: 34 kB / 0.8996 GB, free: 7.711 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.1135, allocations: 51.39 kB / 0.8996 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=179): time 3.997e-06/0.1135, allocations: 0 / 0.8996 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of matching and sorting (n=182): time 0.01245/0.1259, allocations: 6.297 MB / 0.9058 GB, free: 1.332 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.126, allocations: 73.41 kB / 0.9058 GB, free: 1.25 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.1272, allocations: 1.37 MB / 0.9072 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.021e-05/0.1273, allocations: 57.7 kB / 0.9072 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001086/0.1283, allocations: 2.358 MB / 0.9095 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004176/0.1288, allocations: 0.678 MB / 0.9102 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004076/0.1292, allocations: 422.1 kB / 0.9106 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1293, allocations: 480.8 kB / 0.911 GB, free: 11.85 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000566/0.1299, allocations: 392.2 kB / 0.9114 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.1309, allocations: 1.391 MB / 0.9128 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/0.1327, allocations: 1.976 MB / 0.9147 GB, free: 7.234 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/0.1327, allocations: 8 kB / 0.9147 GB, free: 7.227 MB / 0.8698 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.003464/0.1362, allocations: 2.629 MB / 0.9173 GB, free: 4.57 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.692e-05/0.1362, allocations: 22.12 kB / 0.9173 GB, free: 4.551 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/0.1362, allocations: 23.98 kB / 0.9173 GB, free: 4.527 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002354/0.1386, allocations: 1.219 MB / 0.9185 GB, free: 3.297 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006888/0.1393, allocations: 355.4 kB / 0.9189 GB, free: 2.949 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01069/0.15, allocations: 12.68 MB / 0.9312 GB, free: 5.801 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009545/0.1509, allocations: 115.9 kB / 0.9313 GB, free: 5.688 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.1511, allocations: 99.98 kB / 0.9314 GB, free: 5.59 MB / 0.8855 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 (177): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001228/0.1523, allocations: 295.9 kB / 0.9317 GB, free: 5.289 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002814/0.1526, allocations: 278.6 kB / 0.932 GB, free: 5.016 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002908/0.1555, allocations: 2.13 MB / 0.9341 GB, free: 2.852 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.1555, allocations: 16 kB / 0.9341 GB, free: 2.836 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.681e-05/0.1555, allocations: 16 kB / 0.9341 GB, free: 2.82 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.1555, allocations: 7.969 kB / 0.9341 GB, free: 2.812 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008266/0.1638, allocations: 5.963 MB / 0.9399 GB, free: 12.69 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.1638, allocations: 11.94 kB / 0.9399 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004424/0.1642, allocations: 191.6 kB / 0.9401 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002012/0.1662, allocations: 1.003 MB / 0.9411 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.84e-05/0.1663, allocations: 36 kB / 0.9411 GB, free: 11.44 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01163/0.178, allocations: 11.87 MB / 0.9527 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/0.178, allocations: 7.938 kB / 0.9527 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004663/0.1826, allocations: 2.362 MB / 0.955 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007973/0.1834, allocations: 434.4 kB / 0.9555 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002463/0.1837, allocations: 43.92 kB / 0.9555 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006895/0.1844, allocations: 83.91 kB / 0.9556 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003601/0.1847, allocations: 173.5 kB / 0.9557 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.086e-05/0.1848, allocations: 48.25 kB / 0.9558 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0007336/0.1855, allocations: 0.7708 MB / 0.9565 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.1855, allocations: 0 / 0.9565 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002485/0.188, allocations: 0.9961 MB / 0.9575 GB, free: 10.07 MB / 0.9167 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002181/0.1882, allocations: 147 kB / 0.9577 GB, free: 9.922 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003446/0.1917, allocations: 2.974 MB / 0.9606 GB, free: 6.867 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.1917, allocations: 0 / 0.9606 GB, free: 6.867 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002019/0.1937, allocations: 2.17 MB / 0.9627 GB, free: 4.625 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/0.1954, allocations: 0.7596 MB / 0.9634 GB, free: 3.898 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009892/0.2053, allocations: 7.812 MB / 0.971 GB, free: 11.94 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/0.2065, allocations: 1.353 MB / 0.9724 GB, free: 10.56 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0007421/0.2072, allocations: 387.2 kB / 0.9727 GB, free: 10.18 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/0.2074, allocations: 108.5 kB / 0.9728 GB, free: 10.07 MB / 0.9323 GB Notification: Performance of SimCode: time 1.824e-06/0.2074, allocations: 3.938 kB / 0.9728 GB, free: 10.07 MB / 0.9323 GB Notification: Performance of Templates: time 0.0528/0.2602, allocations: 46.88 MB / 1.019 GB, free: 11.98 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.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.05217069434002]