Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001013/0.001013, 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.000951/0.000951, 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.9715/0.9715, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.862/1.862, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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.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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.876e-05/3.075e-05, allocations: 5.766 kB / 0.8116 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01259/0.01262, allocations: 13.37 MB / 0.8246 GB, free: 4.309 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005994/0.01861, allocations: 3.881 MB / 0.8284 GB, free: 452 kB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007428/0.01935, allocations: 123.1 kB / 0.8285 GB, free: 328 kB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0008985/0.02025, allocations: 0.5391 MB / 0.829 GB, free: 15.78 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.001646/0.0219, allocations: 1.501 MB / 0.8305 GB, free: 14.28 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.02336, allocations: 1.108 MB / 0.8316 GB, free: 13.18 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.004012/0.02737, allocations: 5.95 MB / 0.8374 GB, free: 7.207 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002832/0.0302, allocations: 3.172 MB / 0.8405 GB, free: 3.949 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002738/0.03294, allocations: 3.424 MB / 0.8438 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002297/0.03524, allocations: 2.877 MB / 0.8466 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0004057/0.03564, allocations: 456 kB / 0.8471 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007291/0.03637, allocations: 0.605 MB / 0.8477 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001257/0.03763, allocations: 2.219 MB / 0.8498 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001165/0.03879, allocations: 1.513 MB / 0.8513 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.002672/0.04146, allocations: 3.888 MB / 0.8551 GB, free: 4.957 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.04147, allocations: 6.625 kB / 0.8551 GB, free: 4.953 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.152e-06/0.04147, allocations: 0 / 0.8551 GB, free: 4.953 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.663e-05/0.04151, allocations: 0 / 0.8551 GB, free: 4.953 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.003675/0.04518, allocations: 4.015 MB / 0.859 GB, free: 0.8867 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.04522, allocations: 8.031 kB / 0.859 GB, free: 0.8789 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003465/0.04868, allocations: 1.656 MB / 0.8607 GB, free: 15.22 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002439/0.05112, allocations: 2.229 MB / 0.8628 GB, free: 12.94 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.05125, allocations: 242.3 kB / 0.8631 GB, free: 12.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003374/0.05159, allocations: 315.9 kB / 0.8634 GB, free: 12.39 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003882/0.05547, allocations: 3.609 MB / 0.8669 GB, free: 8.391 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.182e-05/0.05552, allocations: 7.938 kB / 0.8669 GB, free: 8.383 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002238/0.05575, allocations: 143.9 kB / 0.867 GB, free: 8.242 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003096/0.05606, allocations: 398.3 kB / 0.8674 GB, free: 7.852 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002324/0.05838, allocations: 1.365 MB / 0.8688 GB, free: 6.477 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0132/0.07159, allocations: 19.98 MB / 0.8883 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006891/0.07227, allocations: 479.6 kB / 0.8887 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006486/0.07292, allocations: 0.5186 MB / 0.8892 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.445e-05/0.07299, allocations: 17 kB / 0.8892 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.07302, allocations: 50.39 kB / 0.8893 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=110): time 2.415e-06/0.07302, allocations: 0 / 0.8893 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of matching and sorting (n=179): time 0.01701/0.09003, allocations: 9.539 MB / 0.8986 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.09007, allocations: 69.41 kB / 0.8987 GB, free: 7.188 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.0911, allocations: 1.246 MB / 0.8999 GB, free: 5.918 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.0912, allocations: 57.7 kB / 0.8999 GB, free: 5.855 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006923/0.09189, allocations: 1.644 MB / 0.9016 GB, free: 4.195 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003658/0.09226, allocations: 0.6469 MB / 0.9022 GB, free: 3.543 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004476/0.09271, allocations: 365.1 kB / 0.9025 GB, free: 3.176 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.09281, allocations: 484.7 kB / 0.903 GB, free: 2.699 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007933/0.0936, allocations: 0.5037 MB / 0.9035 GB, free: 2.191 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/0.09477, allocations: 1.301 MB / 0.9048 GB, free: 0.5469 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00207/0.09684, allocations: 1.983 MB / 0.9067 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/0.09685, allocations: 4 kB / 0.9067 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.007939/0.1048, allocations: 4.798 MB / 0.9114 GB, free: 9.387 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.1048, allocations: 12 kB / 0.9114 GB, free: 9.375 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.1048, allocations: 16 kB / 0.9114 GB, free: 9.359 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007577/0.1124, allocations: 3.248 MB / 0.9146 GB, free: 6.098 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005852/0.113, allocations: 315.4 kB / 0.9149 GB, free: 5.789 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0188/0.1318, allocations: 18.4 MB / 0.9329 GB, free: 2.648 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008555/0.1326, allocations: 147.8 kB / 0.933 GB, free: 2.504 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.1328, allocations: 84 kB / 0.9331 GB, free: 2.422 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 (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.0006374/0.1334, allocations: 287.9 kB / 0.9334 GB, free: 2.129 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002765/0.1337, allocations: 254.8 kB / 0.9336 GB, free: 1.879 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007903/0.1416, allocations: 4.613 MB / 0.9381 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.1416, allocations: 23.94 kB / 0.9381 GB, free: 13.19 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.098e-05/0.1416, allocations: 24 kB / 0.9381 GB, free: 13.17 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.1416, allocations: 7.969 kB / 0.9382 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0114/0.153, allocations: 7.647 MB / 0.9456 GB, free: 5.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.153, allocations: 8 kB / 0.9456 GB, free: 5.312 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003573/0.1534, allocations: 163.8 kB / 0.9458 GB, free: 5.152 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007474/0.1609, allocations: 3.143 MB / 0.9489 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/0.161, allocations: 43.98 kB / 0.9489 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01796/0.1789, allocations: 18.34 MB / 0.9668 GB, free: 14.87 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/0.1789, allocations: 11.94 kB / 0.9668 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007892/0.1868, allocations: 4.72 MB / 0.9714 GB, free: 9.969 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007693/0.1876, allocations: 0.4907 MB / 0.9719 GB, free: 9.477 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.1878, allocations: 47.98 kB / 0.9719 GB, free: 9.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006725/0.1884, allocations: 131.8 kB / 0.9721 GB, free: 9.301 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004434/0.1889, allocations: 188.6 kB / 0.9723 GB, free: 9.117 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.05e-05/0.189, allocations: 48 kB / 0.9723 GB, free: 9.07 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0006712/0.1896, allocations: 0.7141 MB / 0.973 GB, free: 8.359 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1896, allocations: 3.938 kB / 0.973 GB, free: 8.355 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002361/0.192, allocations: 1.117 MB / 0.9741 GB, free: 7.238 MB / 0.9323 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.0002199/0.1922, allocations: 151 kB / 0.9742 GB, free: 7.078 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005547/0.1978, allocations: 4.24 MB / 0.9784 GB, free: 2.727 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.1978, allocations: 4 kB / 0.9784 GB, free: 2.723 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.004156/0.2019, allocations: 3.379 MB / 0.9817 GB, free: 15.23 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.2032, allocations: 0.4996 MB / 0.9822 GB, free: 14.75 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006543/0.2098, allocations: 5.98 MB / 0.988 GB, free: 8.598 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008425/0.2106, allocations: 1.007 MB / 0.989 GB, free: 7.559 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004883/0.2111, allocations: 315.7 kB / 0.9893 GB, free: 7.246 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.2113, allocations: 92.48 kB / 0.9894 GB, free: 7.156 MB / 0.948 GB Notification: Performance of SimCode: time 7.91e-07/0.2113, allocations: 0 / 0.9894 GB, free: 7.156 MB / 0.948 GB Notification: Performance of Templates: time 0.06163/0.2729, allocations: 65.42 MB / 1.053 GB, free: 6.254 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 6.491848316974938]