Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001011/0.001011, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001041/0.001041, allocations: 181 kB / 23.36 MB, free: 1.133 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.9377/0.9377, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.326/2.326, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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_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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.429e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.01355/0.01357, allocations: 17.81 MB / 0.856 GB, free: 12.31 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.009264/0.02284, allocations: 5.712 MB / 0.8616 GB, free: 6.578 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002607/0.02545, allocations: 210.4 kB / 0.8618 GB, free: 6.371 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002271/0.02772, allocations: 0.8223 MB / 0.8626 GB, free: 5.543 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.004328/0.03204, allocations: 1.79 MB / 0.8643 GB, free: 3.742 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004258/0.0363, allocations: 1.739 MB / 0.866 GB, free: 2 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.009199/0.0455, allocations: 8.474 MB / 0.8743 GB, free: 9.5 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009252/0.05475, allocations: 6.393 MB / 0.8806 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008105/0.06286, allocations: 5.365 MB / 0.8858 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009079/0.07194, allocations: 4.123 MB / 0.8898 GB, free: 9.449 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.004845/0.07678, allocations: 0.7773 MB / 0.8906 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002437/0.07922, allocations: 0.8592 MB / 0.8914 GB, free: 7.812 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0101/0.08932, allocations: 3.329 MB / 0.8947 GB, free: 4.477 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.007643/0.09696, allocations: 2.386 MB / 0.897 GB, free: 2.086 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0165/0.1135, allocations: 5.976 MB / 0.9028 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 9.347e-06/0.1135, allocations: 4 kB / 0.9028 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1135, allocations: 0 / 0.9028 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003227/0.1138, allocations: 0 / 0.9028 GB, free: 12.09 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01875/0.1325, allocations: 5.413 MB / 0.9081 GB, free: 6.621 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.1326, allocations: 8.625 kB / 0.9081 GB, free: 6.613 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004049/0.1366, allocations: 1.428 MB / 0.9095 GB, free: 5.184 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003931/0.1406, allocations: 2.685 MB / 0.9121 GB, free: 2.422 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000214/0.1408, allocations: 411.5 kB / 0.9125 GB, free: 2.02 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006581/0.1414, allocations: 0.5393 MB / 0.9131 GB, free: 1.48 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005929/0.1474, allocations: 4.96 MB / 0.9179 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001104/0.1475, allocations: 31.95 kB / 0.9179 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003711/0.1478, allocations: 240.3 kB / 0.9182 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002434/0.1481, allocations: 354.7 kB / 0.9185 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002269/0.1504, allocations: 1.416 MB / 0.9199 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01962/0.17, allocations: 19.5 MB / 0.9389 GB, free: 5.988 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.1711, allocations: 1.117 MB / 0.94 GB, free: 4.855 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007133/0.1718, allocations: 0.6941 MB / 0.9407 GB, free: 4.164 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.968e-05/0.1719, allocations: 30 kB / 0.9407 GB, free: 4.137 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.1719, allocations: 56.5 kB / 0.9408 GB, free: 4.07 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=179): time 4.739e-06/0.1719, allocations: 3.984 kB / 0.9408 GB, free: 4.066 MB / 0.9011 GB Notification: Performance of matching and sorting (n=182): time 0.0105/0.1824, allocations: 4.948 MB / 0.9456 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.1825, allocations: 73.41 kB / 0.9457 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009389/0.1834, allocations: 1.262 MB / 0.9469 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.154e-05/0.1835, allocations: 57.7 kB / 0.947 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008709/0.1844, allocations: 2.099 MB / 0.949 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003936/0.1848, allocations: 0.6505 MB / 0.9497 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003865/0.1852, allocations: 384 kB / 0.95 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.731e-05/0.1852, allocations: 305.1 kB / 0.9503 GB, free: 10.24 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003043/0.1855, allocations: 240.4 kB / 0.9506 GB, free: 10 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006844/0.1862, allocations: 0.9519 MB / 0.9515 GB, free: 8.723 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.1874, allocations: 1.453 MB / 0.9529 GB, free: 6.961 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.1874, allocations: 4 kB / 0.9529 GB, free: 6.957 MB / 0.9167 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.002433/0.1899, allocations: 1.994 MB / 0.9549 GB, free: 4.934 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.1899, allocations: 16 kB / 0.9549 GB, free: 4.918 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.1899, allocations: 20.41 kB / 0.9549 GB, free: 4.898 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002173/0.1921, allocations: 1.091 MB / 0.956 GB, free: 3.801 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005804/0.1927, allocations: 323.4 kB / 0.9563 GB, free: 3.484 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/0.203, allocations: 9.556 MB / 0.9656 GB, free: 9.547 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.2045, allocations: 68 kB / 0.9657 GB, free: 9.48 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001701/0.2046, allocations: 79.98 kB / 0.9657 GB, free: 9.402 MB / 0.9323 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.001503/0.2061, allocations: 252 kB / 0.966 GB, free: 9.145 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004738/0.2066, allocations: 195.8 kB / 0.9662 GB, free: 8.953 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003215/0.2098, allocations: 1.687 MB / 0.9678 GB, free: 7.23 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.2098, allocations: 20 kB / 0.9678 GB, free: 7.211 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.071e-05/0.2099, allocations: 19.94 kB / 0.9678 GB, free: 7.191 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/0.2099, allocations: 7.969 kB / 0.9679 GB, free: 7.184 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008037/0.2179, allocations: 4.166 MB / 0.9719 GB, free: 2.914 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.2179, allocations: 4 kB / 0.9719 GB, free: 2.91 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005823/0.2185, allocations: 147.7 kB / 0.9721 GB, free: 2.766 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002155/0.2207, allocations: 0.9565 MB / 0.973 GB, free: 1.797 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.502e-05/0.2208, allocations: 35.98 kB / 0.973 GB, free: 1.762 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008536/0.2293, allocations: 8.897 MB / 0.9817 GB, free: 8.477 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.2293, allocations: 7.938 kB / 0.9817 GB, free: 8.469 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002425/0.2317, allocations: 1.827 MB / 0.9835 GB, free: 6.539 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008828/0.2326, allocations: 334.5 kB / 0.9838 GB, free: 6.211 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.2328, allocations: 35.94 kB / 0.9839 GB, free: 6.176 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003739/0.2331, allocations: 36 kB / 0.9839 GB, free: 6.141 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003323/0.2335, allocations: 173.5 kB / 0.9841 GB, free: 5.973 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.113e-05/0.2335, allocations: 40.25 kB / 0.9841 GB, free: 5.934 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004851/0.234, allocations: 0.6008 MB / 0.9847 GB, free: 5.34 MB / 0.948 GB Notification: Performance of sort global known variables: time 2e-07/0.234, allocations: 0 / 0.9847 GB, free: 5.34 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002297/0.2363, allocations: 0.9961 MB / 0.9857 GB, free: 4.344 MB / 0.948 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.0002096/0.2365, allocations: 124.3 kB / 0.9858 GB, free: 4.215 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002869/0.2394, allocations: 2.443 MB / 0.9882 GB, free: 1.715 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.713e-05/0.2394, allocations: 25.94 kB / 0.9882 GB, free: 1.688 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001813/0.2412, allocations: 1.778 MB / 0.9899 GB, free: 15.86 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/0.2432, allocations: 0.7697 MB / 0.9907 GB, free: 15.12 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/0.2536, allocations: 8.112 MB / 0.9986 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00153/0.2551, allocations: 1.353 MB / 0.9999 GB, free: 5.508 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0008356/0.256, allocations: 251.4 kB / 1 GB, free: 5.258 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007777/0.2568, allocations: 0.5029 MB / 1.001 GB, free: 4.746 MB / 0.9636 GB Notification: Performance of SimCode: time 1.994e-06/0.2568, allocations: 0 / 1.001 GB, free: 4.746 MB / 0.9636 GB Notification: Performance of Templates: time 0.06004/0.3168, allocations: 47.59 MB / 1.047 GB, free: 5.973 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.454011308029294]