Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009591/0.0009591, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001426/0.001426, allocations: 161.4 kB / 24.17 MB, free: 332 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.9406/0.9406, allocations: 177.1 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.86/1.86, allocations: 377.9 MB / 0.624 GB, free: 8.332 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.76 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.396e-05/3.587e-05, allocations: 9.203 kB / 0.7601 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.01831/0.01835, allocations: 20.92 MB / 0.7805 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0104/0.02875, allocations: 6.339 MB / 0.7867 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00288/0.03163, allocations: 203.2 kB / 0.7869 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002563/0.0342, allocations: 0.9276 MB / 0.7878 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.004467/0.03866, allocations: 2.046 MB / 0.7898 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003742/0.04241, allocations: 1.872 MB / 0.7916 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.009187/0.05159, allocations: 9.321 MB / 0.8007 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008406/0.06, allocations: 6.563 MB / 0.8071 GB, free: 6.184 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008616/0.06862, allocations: 5.744 MB / 0.8127 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006288/0.0749, allocations: 4.404 MB / 0.817 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.002183/0.07709, allocations: 0.8203 MB / 0.8178 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003009/0.08009, allocations: 0.911 MB / 0.8187 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.003821/0.08392, allocations: 3.403 MB / 0.822 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.005309/0.08922, allocations: 2.589 MB / 0.8246 GB, free: 4.285 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00959/0.09882, allocations: 6.336 MB / 0.8307 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.09882, allocations: 3.938 kB / 0.8308 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.474e-06/0.09883, allocations: 0 / 0.8308 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0005154/0.09934, allocations: 5.375 kB / 0.8308 GB, free: 13.92 MB / 0.7917 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.01053/0.1099, allocations: 5.973 MB / 0.8366 GB, free: 7.918 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1099, allocations: 8.031 kB / 0.8366 GB, free: 7.91 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003721/0.1136, allocations: 1.338 MB / 0.8379 GB, free: 6.574 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005257/0.1189, allocations: 2.803 MB / 0.8406 GB, free: 3.73 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003095/0.1192, allocations: 423.8 kB / 0.841 GB, free: 3.316 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00135/0.1205, allocations: 0.5594 MB / 0.8416 GB, free: 2.758 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009468/0.13, allocations: 5.721 MB / 0.8472 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001254/0.1301, allocations: 25.94 kB / 0.8472 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007327/0.1309, allocations: 248.3 kB / 0.8474 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004058/0.1313, allocations: 426.9 kB / 0.8478 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003818/0.1351, allocations: 1.478 MB / 0.8493 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02487/0.16, allocations: 20.21 MB / 0.869 GB, free: 5.508 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.1616, allocations: 1.248 MB / 0.8702 GB, free: 4.254 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00089/0.1625, allocations: 0.743 MB / 0.871 GB, free: 3.512 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.1626, allocations: 37.98 kB / 0.871 GB, free: 3.473 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/0.1626, allocations: 60.56 kB / 0.8711 GB, free: 3.406 MB / 0.823 GB Notification: Performance of pre-optimization done (n=209): time 6.351e-06/0.1626, allocations: 0 / 0.8711 GB, free: 3.406 MB / 0.823 GB Notification: Performance of matching and sorting (n=212): time 0.01002/0.1727, allocations: 4.975 MB / 0.8759 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.1727, allocations: 73.41 kB / 0.876 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.1739, allocations: 1.559 MB / 0.8775 GB, free: 12.74 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.174, allocations: 65.7 kB / 0.8776 GB, free: 12.67 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000939/0.175, allocations: 2.199 MB / 0.8797 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004188/0.1754, allocations: 0.7551 MB / 0.8805 GB, free: 9.688 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004282/0.1758, allocations: 457.2 kB / 0.8809 GB, free: 9.234 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.635e-05/0.1759, allocations: 305.1 kB / 0.8812 GB, free: 8.934 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004026/0.1763, allocations: 289.2 kB / 0.8815 GB, free: 8.648 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007297/0.177, allocations: 1.015 MB / 0.8825 GB, free: 7.324 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.1783, allocations: 1.585 MB / 0.884 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.285e-05/0.1783, allocations: 8 kB / 0.884 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.002561/0.1809, allocations: 2.111 MB / 0.8861 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.1809, allocations: 16 kB / 0.8861 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.1809, allocations: 20 kB / 0.8861 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002006/0.183, allocations: 1.05 MB / 0.8871 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008111/0.1838, allocations: 407.3 kB / 0.8875 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007879/0.1916, allocations: 9.265 MB / 0.8966 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.1927, allocations: 76 kB / 0.8966 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.1929, allocations: 95.86 kB / 0.8967 GB, free: 7.973 MB / 0.8542 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.001078/0.194, allocations: 268 kB / 0.897 GB, free: 7.699 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003352/0.1943, allocations: 243.7 kB / 0.8972 GB, free: 7.461 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/0.1964, allocations: 1.762 MB / 0.8989 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.1965, allocations: 20 kB / 0.899 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.109e-05/0.1965, allocations: 23.94 kB / 0.899 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/0.1965, allocations: 15.89 kB / 0.899 GB, free: 5.609 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005705/0.2022, allocations: 3.877 MB / 0.9028 GB, free: 1.625 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.2022, allocations: 7.984 kB / 0.9028 GB, free: 1.617 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004561/0.2027, allocations: 175.7 kB / 0.903 GB, free: 1.445 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001929/0.2046, allocations: 1.01 MB / 0.904 GB, free: 432 kB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.281e-05/0.2047, allocations: 40 kB / 0.904 GB, free: 392 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008531/0.2132, allocations: 9.243 MB / 0.913 GB, free: 6.758 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2132, allocations: 4 kB / 0.913 GB, free: 6.754 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002572/0.2158, allocations: 1.924 MB / 0.9149 GB, free: 4.738 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006487/0.2164, allocations: 410.1 kB / 0.9153 GB, free: 4.336 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002099/0.2167, allocations: 36 kB / 0.9153 GB, free: 4.301 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005222/0.2172, allocations: 51.94 kB / 0.9154 GB, free: 4.25 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003352/0.2175, allocations: 193.4 kB / 0.9156 GB, free: 4.062 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.899e-05/0.2176, allocations: 44 kB / 0.9156 GB, free: 4.02 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006065/0.2182, allocations: 0.7661 MB / 0.9163 GB, free: 3.234 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.2182, allocations: 0 / 0.9163 GB, free: 3.234 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002481/0.2207, allocations: 1.141 MB / 0.9175 GB, free: 2.094 MB / 0.8698 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.0002502/0.2209, allocations: 140.2 kB / 0.9176 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002944/0.2239, allocations: 2.548 MB / 0.9201 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.418e-05/0.2239, allocations: 29.81 kB / 0.9201 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002328/0.2263, allocations: 1.872 MB / 0.9219 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/0.2283, allocations: 0.8269 MB / 0.9227 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/0.2412, allocations: 8.742 MB / 0.9313 GB, free: 3.703 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00147/0.2426, allocations: 1.397 MB / 0.9326 GB, free: 2.277 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001076/0.2437, allocations: 319.4 kB / 0.933 GB, free: 1.961 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/0.2449, allocations: 0.7021 MB / 0.9336 GB, free: 1.242 MB / 0.8855 GB Notification: Performance of SimCode: time 1.954e-06/0.2449, allocations: 0 / 0.9336 GB, free: 1.242 MB / 0.8855 GB Notification: Performance of Templates: time 0.07395/0.3188, allocations: 55.57 MB / 0.9879 GB, free: 10.72 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.147227252833545]