Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.0009467/0.0009467, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.0009545/0.0009545, allocations: 167.7 kB / 24.87 MB, free: 9.285 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.9297/0.9297, allocations: 177.1 MB / 205.3 MB, free: 5.074 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.6063 GB, free: 10.88 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.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.7883 GB, free: 12.18 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279e-05/1.4e-05, allocations: 3 kB / 0.7883 GB, free: 12.18 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.009633/0.009647, allocations: 13.01 MB / 0.801 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.004889/0.01454, allocations: 3.868 MB / 0.8048 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008126/0.01535, allocations: 123.1 kB / 0.8049 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.000856/0.0162, allocations: 0.5398 MB / 0.8055 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001523/0.01773, allocations: 1.502 MB / 0.8069 GB, free: 9.113 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.01888, allocations: 1.102 MB / 0.808 GB, free: 8.012 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003728/0.02261, allocations: 5.95 MB / 0.8138 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002837/0.02544, allocations: 3.168 MB / 0.8169 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002875/0.02832, allocations: 3.423 MB / 0.8202 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002384/0.0307, allocations: 2.932 MB / 0.8231 GB, free: 8.434 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0004148/0.03112, allocations: 453 kB / 0.8235 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00072/0.03184, allocations: 0.5972 MB / 0.8241 GB, free: 7.395 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.00134/0.03318, allocations: 2.214 MB / 0.8263 GB, free: 5.176 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001199/0.03438, allocations: 1.498 MB / 0.8278 GB, free: 3.676 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002603/0.03698, allocations: 3.876 MB / 0.8315 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.03698, allocations: 0 / 0.8315 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.684e-06/0.03698, allocations: 8.969 kB / 0.8315 GB, free: 15.78 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.117e-05/0.03703, allocations: 0 / 0.8315 GB, free: 15.78 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.003552/0.04058, allocations: 4 MB / 0.8355 GB, free: 11.73 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.04061, allocations: 8.031 kB / 0.8355 GB, free: 11.72 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002608/0.04322, allocations: 1.2 MB / 0.8366 GB, free: 10.52 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001858/0.04507, allocations: 1.989 MB / 0.8386 GB, free: 8.48 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/0.04519, allocations: 250.3 kB / 0.8388 GB, free: 8.234 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003153/0.04551, allocations: 315.9 kB / 0.8391 GB, free: 7.926 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002993/0.0485, allocations: 3.343 MB / 0.8424 GB, free: 4.188 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.8e-05/0.04856, allocations: 23.86 kB / 0.8424 GB, free: 4.164 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002228/0.04878, allocations: 139.9 kB / 0.8425 GB, free: 4.027 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002994/0.04908, allocations: 410.3 kB / 0.8429 GB, free: 3.625 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.05046, allocations: 1.078 MB / 0.844 GB, free: 2.535 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01149/0.06196, allocations: 18.76 MB / 0.8623 GB, free: 15.18 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004907/0.06245, allocations: 389.9 kB / 0.8627 GB, free: 14.79 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004619/0.06291, allocations: 463.9 kB / 0.8631 GB, free: 14.34 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.002e-05/0.06298, allocations: 21 kB / 0.8631 GB, free: 14.32 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.06301, allocations: 50.39 kB / 0.8632 GB, free: 14.26 MB / 0.823 GB Notification: Performance of pre-optimization done (n=110): time 3.436e-06/0.06301, allocations: 3.984 kB / 0.8632 GB, free: 14.25 MB / 0.823 GB Notification: Performance of matching and sorting (n=179): time 0.01491/0.07792, allocations: 7.927 MB / 0.8709 GB, free: 6.309 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.07796, allocations: 73.41 kB / 0.871 GB, free: 6.227 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007807/0.07874, allocations: 1.222 MB / 0.8722 GB, free: 4.98 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.07884, allocations: 53.64 kB / 0.8722 GB, free: 4.922 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006611/0.0795, allocations: 1.671 MB / 0.8739 GB, free: 3.234 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003584/0.07986, allocations: 0.6507 MB / 0.8745 GB, free: 2.578 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004299/0.08029, allocations: 373 kB / 0.8749 GB, free: 2.203 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.08045, allocations: 480.7 kB / 0.8753 GB, free: 1.73 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004968/0.08095, allocations: 391.8 kB / 0.8757 GB, free: 1.344 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008442/0.08179, allocations: 1.184 MB / 0.8769 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.08342, allocations: 1.756 MB / 0.8786 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.08343, allocations: 8 kB / 0.8786 GB, free: 13.72 MB / 0.8386 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.006764/0.09019, allocations: 4.061 MB / 0.8825 GB, free: 9.621 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.09022, allocations: 14.19 kB / 0.8826 GB, free: 9.609 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/0.09024, allocations: 20 kB / 0.8826 GB, free: 9.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006648/0.09688, allocations: 2.786 MB / 0.8853 GB, free: 6.785 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005444/0.09743, allocations: 283.4 kB / 0.8856 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02198/0.1194, allocations: 17.49 MB / 0.9026 GB, free: 4.332 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009512/0.1204, allocations: 60 kB / 0.9027 GB, free: 4.273 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.1205, allocations: 64 kB / 0.9028 GB, free: 4.211 MB / 0.8542 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007752/0.1212, allocations: 276 kB / 0.903 GB, free: 3.93 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002808/0.1215, allocations: 258.8 kB / 0.9033 GB, free: 3.676 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006515/0.128, allocations: 3.93 MB / 0.9071 GB, free: 15.69 MB / 0.8699 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.128, allocations: 20 kB / 0.9071 GB, free: 15.67 MB / 0.8699 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-05/0.1281, allocations: 28 kB / 0.9072 GB, free: 15.64 MB / 0.8699 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.1281, allocations: 11.95 kB / 0.9072 GB, free: 15.63 MB / 0.8699 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009222/0.1373, allocations: 6.062 MB / 0.9131 GB, free: 9.391 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.1373, allocations: 8 kB / 0.9131 GB, free: 9.383 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003091/0.1376, allocations: 135.8 kB / 0.9132 GB, free: 9.25 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006251/0.1439, allocations: 2.699 MB / 0.9159 GB, free: 6.535 MB / 0.8699 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-05/0.144, allocations: 39.94 kB / 0.9159 GB, free: 6.496 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01522/0.1592, allocations: 17.42 MB / 0.9329 GB, free: 4.391 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-06/0.1592, allocations: 11.94 kB / 0.9329 GB, free: 4.379 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006162/0.1653, allocations: 4.021 MB / 0.9369 GB, free: 192 kB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005611/0.1659, allocations: 426.5 kB / 0.9373 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.1661, allocations: 40.17 kB / 0.9373 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005433/0.1666, allocations: 40 kB / 0.9373 GB, free: 15.69 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003787/0.167, allocations: 184.7 kB / 0.9375 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.06e-05/0.1671, allocations: 36 kB / 0.9375 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004523/0.1675, allocations: 0.663 MB / 0.9382 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.1675, allocations: 0 / 0.9382 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002091/0.1696, allocations: 1.117 MB / 0.9393 GB, free: 13.7 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001961/0.1698, allocations: 147.1 kB / 0.9394 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004591/0.1744, allocations: 3.87 MB / 0.9432 GB, free: 9.555 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1744, allocations: 4.25 kB / 0.9432 GB, free: 9.551 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.003623/0.178, allocations: 3.117 MB / 0.9463 GB, free: 6.324 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.1792, allocations: 0.5114 MB / 0.9468 GB, free: 5.824 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005804/0.185, allocations: 5.939 MB / 0.9526 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007814/0.1858, allocations: 1.003 MB / 0.9535 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003712/0.1862, allocations: 183.9 kB / 0.9537 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005502/0.1867, allocations: 457.9 kB / 0.9541 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of SimCode: time 6.11e-07/0.1867, allocations: 0 / 0.9541 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of Templates: time 0.06244/0.2492, allocations: 68.37 MB / 1.021 GB, free: 10.21 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.949135531671345]