Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.0009302/0.0009302, allocations: 81.95 kB / 21.47 MB, free: 3.027 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.0009473/0.0009473, allocations: 162.7 kB / 24.87 MB, free: 8.84 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.9926/0.9926, allocations: 177.2 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.937/1.937, allocations: 377.9 MB / 0.6247 GB, free: 8.422 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 0.8128 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.698e-05/2.865e-05, allocations: 10.25 kB / 0.8128 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01056/0.01059, allocations: 9.623 MB / 0.8222 GB, free: 7.812 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.007105/0.0177, allocations: 5.907 MB / 0.828 GB, free: 1.922 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.01887, allocations: 91.19 kB / 0.828 GB, free: 1.832 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.02007, allocations: 373.1 kB / 0.8284 GB, free: 1.465 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.002983/0.02305, allocations: 1.43 MB / 0.8298 GB, free: 48 kB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.02418, allocations: 0.6573 MB / 0.8304 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.002433/0.02662, allocations: 2.611 MB / 0.833 GB, free: 12.78 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001305/0.02792, allocations: 1.188 MB / 0.8341 GB, free: 11.55 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001585/0.02951, allocations: 1.577 MB / 0.8357 GB, free: 9.977 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.03055, allocations: 1.013 MB / 0.8367 GB, free: 8.961 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001944/0.03074, allocations: 160 kB / 0.8368 GB, free: 8.805 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004827/0.03122, allocations: 335.5 kB / 0.8371 GB, free: 8.477 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.000403/0.03163, allocations: 0.6543 MB / 0.8378 GB, free: 7.82 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0005398/0.03217, allocations: 0.6391 MB / 0.8384 GB, free: 7.18 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.03343, allocations: 1.53 MB / 0.8399 GB, free: 5.645 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.03344, allocations: 0 / 0.8399 GB, free: 5.645 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.072e-06/0.03344, allocations: 0 / 0.8399 GB, free: 5.645 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.418e-05/0.03346, allocations: 0 / 0.8399 GB, free: 5.645 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002188/0.03565, allocations: 2.143 MB / 0.842 GB, free: 3.457 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.03568, allocations: 12.03 kB / 0.842 GB, free: 3.445 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003513/0.03919, allocations: 0.9007 MB / 0.8429 GB, free: 2.543 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.04052, allocations: 1.141 MB / 0.844 GB, free: 1.355 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.214e-05/0.04058, allocations: 86.73 kB / 0.8441 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/0.04076, allocations: 128.3 kB / 0.8442 GB, free: 1.145 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/0.04264, allocations: 1.702 MB / 0.8459 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/0.04268, allocations: 11.88 kB / 0.8459 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.04279, allocations: 51.98 kB / 0.8459 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003145/0.0431, allocations: 130.2 kB / 0.8461 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008806/0.04398, allocations: 0.6751 MB / 0.8467 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006432/0.05042, allocations: 7.816 MB / 0.8543 GB, free: 6.301 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.05154, allocations: 0.5694 MB / 0.8549 GB, free: 5.727 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003707/0.05191, allocations: 307.2 kB / 0.8552 GB, free: 5.422 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.205e-05/0.05196, allocations: 13 kB / 0.8552 GB, free: 5.41 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.05199, allocations: 50.39 kB / 0.8553 GB, free: 5.352 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=89): time 3.887e-06/0.052, allocations: 0 / 0.8553 GB, free: 5.352 MB / 0.8073 GB Notification: Performance of matching and sorting (n=131): time 0.00829/0.06029, allocations: 4.167 MB / 0.8593 GB, free: 1.133 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.06032, allocations: 64.72 kB / 0.8594 GB, free: 1.059 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006821/0.061, allocations: 0.9323 MB / 0.8603 GB, free: 116 kB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.363e-05/0.06109, allocations: 45.7 kB / 0.8603 GB, free: 64 kB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003958/0.06148, allocations: 0.7929 MB / 0.8611 GB, free: 15.26 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003028/0.06179, allocations: 479.8 kB / 0.8616 GB, free: 14.79 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003394/0.06213, allocations: 269 kB / 0.8618 GB, free: 14.52 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.06229, allocations: 0.5432 MB / 0.8624 GB, free: 13.97 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004236/0.06271, allocations: 319.8 kB / 0.8627 GB, free: 13.66 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005747/0.06329, allocations: 0.675 MB / 0.8633 GB, free: 12.85 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.06436, allocations: 1.058 MB / 0.8644 GB, free: 11.66 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.06437, allocations: 0 / 0.8644 GB, free: 11.66 MB / 0.823 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003617/0.06798, allocations: 2.118 MB / 0.8664 GB, free: 9.477 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.06801, allocations: 8 kB / 0.8664 GB, free: 9.469 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.06802, allocations: 4 kB / 0.8664 GB, free: 9.465 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003651/0.07167, allocations: 1.342 MB / 0.8678 GB, free: 8.066 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006487/0.07232, allocations: 215.6 kB / 0.868 GB, free: 7.855 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01422/0.08654, allocations: 25.91 MB / 0.8933 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.08761, allocations: 59.97 kB / 0.8933 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.08772, allocations: 51.97 kB / 0.8934 GB, free: 12.36 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004492/0.08816, allocations: 232.5 kB / 0.8936 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003065/0.08847, allocations: 195 kB / 0.8938 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003493/0.09196, allocations: 2.04 MB / 0.8958 GB, free: 9.816 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.09197, allocations: 12 kB / 0.8958 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.282e-05/0.092, allocations: 12 kB / 0.8958 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.09201, allocations: 11.97 kB / 0.8958 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005275/0.09728, allocations: 3.271 MB / 0.899 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.09729, allocations: 0 / 0.899 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005079/0.09779, allocations: 152.1 kB / 0.8991 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003416/0.1012, allocations: 1.284 MB / 0.9004 GB, free: 4.883 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-05/0.1013, allocations: 39.97 kB / 0.9004 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01333/0.1146, allocations: 25.12 MB / 0.925 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.1146, allocations: 4.156 kB / 0.925 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003641/0.1183, allocations: 2.045 MB / 0.927 GB, free: 8.07 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006852/0.119, allocations: 318.8 kB / 0.9273 GB, free: 7.758 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/0.1191, allocations: 31.94 kB / 0.9273 GB, free: 7.727 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006269/0.1198, allocations: 47.98 kB / 0.9273 GB, free: 7.68 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003623/0.1201, allocations: 128.7 kB / 0.9275 GB, free: 7.555 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.34e-05/0.1202, allocations: 43.97 kB / 0.9275 GB, free: 7.512 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004263/0.1206, allocations: 0.537 MB / 0.928 GB, free: 6.969 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1206, allocations: 4 kB / 0.928 GB, free: 6.965 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00162/0.1223, allocations: 0.5858 MB / 0.9286 GB, free: 6.379 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002419/0.1225, allocations: 143.1 kB / 0.9287 GB, free: 6.227 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003719/0.1262, allocations: 3.712 MB / 0.9324 GB, free: 2.285 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.1262, allocations: 0 / 0.9324 GB, free: 2.285 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002961/0.1292, allocations: 3.163 MB / 0.9355 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/0.1308, allocations: 0.5222 MB / 0.936 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004339/0.1351, allocations: 2.946 MB / 0.9388 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000635/0.1358, allocations: 459.1 kB / 0.9393 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0008929/0.1366, allocations: 296.5 kB / 0.9396 GB, free: 10.59 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008067/0.1375, allocations: 493.8 kB / 0.94 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of SimCode: time 2.064e-06/0.1375, allocations: 0 / 0.94 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of Templates: time 0.05109/0.1885, allocations: 44.99 MB / 0.984 GB, free: 13.91 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.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.161155030597001]