Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.0008879/0.0008879, 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.0008917/0.0008917, 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.888/0.888, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.696/1.696, allocations: 359 MB / 0.6055 GB, free: 10.89 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_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.293e-05, allocations: 8.719 kB / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.02987/0.02989, allocations: 20.9 MB / 0.808 GB, free: 7.203 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.009969/0.03986, allocations: 6.167 MB / 0.814 GB, free: 1.062 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002724/0.04259, allocations: 198.6 kB / 0.8142 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.002144/0.04473, allocations: 0.9235 MB / 0.8151 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.003834/0.04856, allocations: 2.056 MB / 0.8171 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.003391/0.05195, allocations: 1.845 MB / 0.8189 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.009066/0.06102, allocations: 9.325 MB / 0.828 GB, free: 2.684 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008042/0.06906, allocations: 6.183 MB / 0.8341 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008952/0.07802, allocations: 5.751 MB / 0.8397 GB, free: 6.617 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005998/0.08401, allocations: 4.54 MB / 0.8441 GB, free: 2.066 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.00158/0.08559, allocations: 0.8242 MB / 0.8449 GB, free: 1.242 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002168/0.08776, allocations: 0.9099 MB / 0.8458 GB, free: 340 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.003138/0.0909, allocations: 3.403 MB / 0.8491 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.004035/0.09493, allocations: 2.585 MB / 0.8516 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.006657/0.1016, allocations: 6.339 MB / 0.8578 GB, free: 3.977 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.1016, allocations: 0 / 0.8578 GB, free: 3.977 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.724e-06/0.1016, allocations: 0 / 0.8578 GB, free: 3.977 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.00029/0.1019, allocations: 0 / 0.8578 GB, free: 3.977 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.009585/0.1115, allocations: 6.538 MB / 0.8642 GB, free: 13.37 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.1115, allocations: 12.03 kB / 0.8642 GB, free: 13.36 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002902/0.1144, allocations: 1.499 MB / 0.8657 GB, free: 11.85 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004712/0.1191, allocations: 3.152 MB / 0.8688 GB, free: 8.641 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002202/0.1194, allocations: 427.7 kB / 0.8692 GB, free: 8.223 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006844/0.12, allocations: 0.5589 MB / 0.8697 GB, free: 7.664 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006239/0.1263, allocations: 5.877 MB / 0.8755 GB, free: 1.117 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.102e-05/0.1264, allocations: 16.06 kB / 0.8755 GB, free: 1.102 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003483/0.1267, allocations: 248.3 kB / 0.8757 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003669/0.1271, allocations: 422.8 kB / 0.8761 GB, free: 456 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002739/0.1298, allocations: 1.69 MB / 0.8778 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0203/0.1501, allocations: 26.7 MB / 0.9039 GB, free: 3.301 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.1517, allocations: 1.266 MB / 0.9051 GB, free: 2.012 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008247/0.1525, allocations: 0.8121 MB / 0.9059 GB, free: 1.207 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.975e-05/0.1526, allocations: 41.98 kB / 0.9059 GB, free: 1.168 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/0.1527, allocations: 71.33 kB / 0.906 GB, free: 1.086 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=209): time 4.539e-06/0.1527, allocations: 0 / 0.906 GB, free: 1.086 MB / 0.8542 GB Notification: Performance of matching and sorting (n=212): time 0.009681/0.1623, allocations: 5.395 MB / 0.9113 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.1624, allocations: 73.41 kB / 0.9113 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.1636, allocations: 1.663 MB / 0.913 GB, free: 9.895 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.672e-05/0.1637, allocations: 61.7 kB / 0.913 GB, free: 9.828 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001018/0.1647, allocations: 2.548 MB / 0.9155 GB, free: 7.254 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000448/0.1652, allocations: 0.7902 MB / 0.9163 GB, free: 6.457 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004508/0.1656, allocations: 499.8 kB / 0.9168 GB, free: 5.961 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.827e-05/0.1657, allocations: 480.7 kB / 0.9172 GB, free: 5.488 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004368/0.1662, allocations: 357 kB / 0.9176 GB, free: 5.137 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000917/0.1671, allocations: 1.391 MB / 0.9189 GB, free: 3.312 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001391/0.1685, allocations: 1.944 MB / 0.9208 GB, free: 0.9414 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.1685, allocations: 12 kB / 0.9208 GB, free: 0.9297 MB / 0.8698 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.003/0.1715, allocations: 2.586 MB / 0.9233 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.1715, allocations: 18.11 kB / 0.9234 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-05/0.1715, allocations: 28 kB / 0.9234 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00205/0.1736, allocations: 1.169 MB / 0.9245 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007763/0.1744, allocations: 399.3 kB / 0.9249 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008656/0.183, allocations: 11.91 MB / 0.9365 GB, free: 352 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.1842, allocations: 75.98 kB / 0.9366 GB, free: 276 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.1843, allocations: 92 kB / 0.9367 GB, free: 184 kB / 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001054/0.1854, allocations: 311.9 kB / 0.937 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003094/0.1857, allocations: 346.3 kB / 0.9373 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002375/0.1881, allocations: 2.038 MB / 0.9393 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.1881, allocations: 20 kB / 0.9393 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.17e-05/0.1881, allocations: 16 kB / 0.9394 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.1881, allocations: 15.89 kB / 0.9394 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006042/0.1942, allocations: 4.76 MB / 0.944 GB, free: 8.504 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/0.1942, allocations: 4 kB / 0.944 GB, free: 8.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004405/0.1946, allocations: 179.7 kB / 0.9442 GB, free: 8.324 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001897/0.1965, allocations: 1.026 MB / 0.9452 GB, free: 7.285 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.137e-05/0.1966, allocations: 40.06 kB / 0.9452 GB, free: 7.246 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008282/0.2049, allocations: 11.84 MB / 0.9568 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.2049, allocations: 8 kB / 0.9568 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002811/0.2077, allocations: 2.33 MB / 0.9591 GB, free: 8.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006518/0.2083, allocations: 478.1 kB / 0.9595 GB, free: 8.031 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/0.2085, allocations: 40 kB / 0.9596 GB, free: 7.992 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005147/0.209, allocations: 44 kB / 0.9596 GB, free: 7.949 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003347/0.2094, allocations: 189.5 kB / 0.9598 GB, free: 7.762 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-05/0.2094, allocations: 55.94 kB / 0.9599 GB, free: 7.707 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0007826/0.2102, allocations: 0.879 MB / 0.9607 GB, free: 6.812 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.2102, allocations: 0 / 0.9607 GB, free: 6.812 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002436/0.2127, allocations: 1.141 MB / 0.9618 GB, free: 5.672 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002188/0.2129, allocations: 163 kB / 0.962 GB, free: 5.504 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003045/0.2159, allocations: 2.936 MB / 0.9648 GB, free: 2.488 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.2159, allocations: 0 / 0.9648 GB, free: 2.488 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001879/0.2178, allocations: 2.187 MB / 0.967 GB, free: 236 kB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/0.2197, allocations: 0.8197 MB / 0.9678 GB, free: 15.43 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.2297, allocations: 8.407 MB / 0.976 GB, free: 6.863 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/0.2309, allocations: 1.404 MB / 0.9774 GB, free: 5.434 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0009311/0.2318, allocations: 311.4 kB / 0.9777 GB, free: 5.125 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/0.2329, allocations: 0.7945 MB / 0.9784 GB, free: 4.328 MB / 0.9323 GB Notification: Performance of SimCode: time 1.513e-06/0.2329, allocations: 0 / 0.9784 GB, free: 4.328 MB / 0.9323 GB Notification: Performance of Templates: time 0.07016/0.3031, allocations: 55.64 MB / 1.033 GB, free: 13.74 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.174035748001188]