Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.0009403/0.0009403, allocations: 87.58 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.0009175/0.0009175, allocations: 161 kB / 23.82 MB, free: 0.75 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.9497/0.9497, allocations: 177.2 MB / 204.2 MB, free: 5.594 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.83/1.83, allocations: 377.8 MB / 0.6236 GB, free: 8.562 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_3.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.|load_sc_3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_3.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.|load_sc_3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.8116 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.615e-05, allocations: 8.781 kB / 0.8116 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.01327/0.01329, allocations: 15.5 MB / 0.8267 GB, free: 2.148 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.007718/0.02101, allocations: 4.499 MB / 0.8311 GB, free: 13.66 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00208/0.02309, allocations: 155.5 kB / 0.8312 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.00171/0.0248, allocations: 0.6289 MB / 0.8318 GB, free: 12.88 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.002992/0.02779, allocations: 1.472 MB / 0.8333 GB, free: 11.41 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002467/0.03026, allocations: 1.311 MB / 0.8346 GB, free: 10.1 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.005944/0.0362, allocations: 6.172 MB / 0.8406 GB, free: 3.91 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004835/0.04104, allocations: 3.779 MB / 0.8443 GB, free: 44 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005248/0.04629, allocations: 3.706 MB / 0.8479 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003797/0.05008, allocations: 2.857 MB / 0.8507 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.001121/0.0512, allocations: 0.5117 MB / 0.8512 GB, free: 8.957 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.0526, allocations: 0.6051 MB / 0.8518 GB, free: 8.352 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001793/0.05439, allocations: 2.222 MB / 0.854 GB, free: 6.125 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.002793/0.05718, allocations: 1.669 MB / 0.8556 GB, free: 4.453 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.004594/0.06178, allocations: 4.102 MB / 0.8596 GB, free: 348 kB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.06178, allocations: 0 / 0.8596 GB, free: 348 kB / 0.8073 GB Notification: Performance of FrontEnd: time 1.663e-06/0.06179, allocations: 0 / 0.8596 GB, free: 348 kB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.000236/0.06202, allocations: 0 / 0.8596 GB, free: 348 kB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.006935/0.06896, allocations: 4.397 MB / 0.8639 GB, free: 11.88 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.069, allocations: 8.031 kB / 0.8639 GB, free: 11.87 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002586/0.07159, allocations: 1.2 MB / 0.8651 GB, free: 10.67 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00299/0.07458, allocations: 2.443 MB / 0.8674 GB, free: 8.176 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/0.07472, allocations: 267.7 kB / 0.8677 GB, free: 7.914 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004633/0.07518, allocations: 384.8 kB / 0.8681 GB, free: 7.539 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004746/0.07993, allocations: 3.972 MB / 0.872 GB, free: 3.117 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-05/0.07999, allocations: 15.81 kB / 0.872 GB, free: 3.102 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002334/0.08023, allocations: 156 kB / 0.8721 GB, free: 2.949 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003543/0.08058, allocations: 282.9 kB / 0.8724 GB, free: 2.672 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002749/0.08333, allocations: 1.418 MB / 0.8738 GB, free: 1.246 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01641/0.09974, allocations: 19.86 MB / 0.8932 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007126/0.1004, allocations: 462.4 kB / 0.8936 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005148/0.101, allocations: 414.9 kB / 0.894 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.779e-05/0.101, allocations: 21 kB / 0.894 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.1011, allocations: 46.39 kB / 0.8941 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=110): time 4.078e-06/0.1011, allocations: 0 / 0.8941 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of matching and sorting (n=131): time 0.008972/0.11, allocations: 5.051 MB / 0.899 GB, free: 6.719 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.1101, allocations: 64.72 kB / 0.8991 GB, free: 6.645 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.1113, allocations: 1.312 MB / 0.9003 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.989e-05/0.1114, allocations: 45.7 kB / 0.9004 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008673/0.1122, allocations: 1.784 MB / 0.9021 GB, free: 3.465 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003338/0.1126, allocations: 499.9 kB / 0.9026 GB, free: 2.973 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003366/0.1129, allocations: 333 kB / 0.9029 GB, free: 2.641 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.113, allocations: 476.8 kB / 0.9034 GB, free: 2.172 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005037/0.1135, allocations: 327.8 kB / 0.9037 GB, free: 1.852 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008418/0.1143, allocations: 1.108 MB / 0.9048 GB, free: 420 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.1158, allocations: 1.567 MB / 0.9063 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/0.1159, allocations: 4 kB / 0.9063 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002823/0.1187, allocations: 1.988 MB / 0.9082 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.1187, allocations: 12 kB / 0.9083 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.1187, allocations: 16.91 kB / 0.9083 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001512/0.1202, allocations: 0.6138 MB / 0.9089 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008236/0.1211, allocations: 387.3 kB / 0.9092 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009563/0.1306, allocations: 17.17 MB / 0.926 GB, free: 9.133 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/0.1318, allocations: 111.8 kB / 0.9261 GB, free: 9.023 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.1319, allocations: 72 kB / 0.9262 GB, free: 8.953 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008627/0.1327, allocations: 280 kB / 0.9265 GB, free: 8.668 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002819/0.133, allocations: 238.8 kB / 0.9267 GB, free: 8.434 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/0.1352, allocations: 1.525 MB / 0.9282 GB, free: 6.859 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.1352, allocations: 12 kB / 0.9282 GB, free: 6.848 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.1352, allocations: 8 kB / 0.9282 GB, free: 6.84 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.1352, allocations: 3.984 kB / 0.9282 GB, free: 6.836 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005456/0.1406, allocations: 4.214 MB / 0.9323 GB, free: 2.434 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.1407, allocations: 4 kB / 0.9323 GB, free: 2.43 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005606/0.1412, allocations: 227.7 kB / 0.9325 GB, free: 2.207 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001312/0.1425, allocations: 0.5791 MB / 0.9331 GB, free: 1.59 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-05/0.1426, allocations: 32 kB / 0.9331 GB, free: 1.559 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008262/0.1509, allocations: 17.14 MB / 0.9499 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.1509, allocations: 7.938 kB / 0.9499 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002873/0.1537, allocations: 2.076 MB / 0.9519 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005624/0.1543, allocations: 354.6 kB / 0.9522 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.1544, allocations: 35.98 kB / 0.9523 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004563/0.1549, allocations: 83.89 kB / 0.9524 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002441/0.1551, allocations: 124.5 kB / 0.9525 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/0.1552, allocations: 43.98 kB / 0.9525 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0007083/0.1559, allocations: 0.7447 MB / 0.9532 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.31e-07/0.1559, allocations: 4 kB / 0.9532 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001636/0.1575, allocations: 0.6953 MB / 0.9539 GB, free: 11.01 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002081/0.1577, allocations: 149.5 kB / 0.9541 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00272/0.1605, allocations: 2.886 MB / 0.9569 GB, free: 7.812 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.1605, allocations: 0 / 0.9569 GB, free: 7.812 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001697/0.1622, allocations: 2.279 MB / 0.9591 GB, free: 5.367 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/0.1639, allocations: 0.6356 MB / 0.9597 GB, free: 4.746 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007715/0.1716, allocations: 5.832 MB / 0.9654 GB, free: 14.77 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008108/0.1724, allocations: 0.9324 MB / 0.9663 GB, free: 13.82 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0009175/0.1733, allocations: 392.4 kB / 0.9667 GB, free: 13.43 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/0.1735, allocations: 112.4 kB / 0.9668 GB, free: 13.32 MB / 0.9323 GB Notification: Performance of SimCode: time 1.373e-06/0.1735, allocations: 0 / 0.9668 GB, free: 13.32 MB / 0.9323 GB Notification: Performance of Templates: time 0.0437/0.2172, allocations: 35.99 MB / 1.002 GB, free: 10.08 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.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: 5.664645342156291]