Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.0009087/0.0009087, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009504/0.0009504, allocations: 185 kB / 24.09 MB, free: 416 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.8656/0.8656, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.648/1.648, allocations: 359 MB / 0.6055 GB, free: 10.9 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_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/1.908e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.005482/0.005501, allocations: 6.242 MB / 0.7937 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002962/0.008463, allocations: 2.063 MB / 0.7957 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003234/0.008786, allocations: 43.69 kB / 0.7957 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006263/0.009412, allocations: 266.2 kB / 0.796 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0007515/0.01016, allocations: 0.6583 MB / 0.7966 GB, free: 2.922 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007334/0.0109, allocations: 0.549 MB / 0.7972 GB, free: 2.375 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002155/0.01305, allocations: 2.738 MB / 0.7998 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.01429, allocations: 1.372 MB / 0.8012 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001315/0.01561, allocations: 1.573 MB / 0.8027 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001215/0.01682, allocations: 1.433 MB / 0.8041 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001842/0.01701, allocations: 216.7 kB / 0.8043 GB, free: 11 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004288/0.01744, allocations: 316.2 kB / 0.8046 GB, free: 10.69 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0005926/0.01803, allocations: 1.06 MB / 0.8057 GB, free: 9.629 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0004847/0.01851, allocations: 0.7228 MB / 0.8064 GB, free: 8.906 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001595/0.02011, allocations: 1.909 MB / 0.8082 GB, free: 6.992 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.02011, allocations: 0 / 0.8082 GB, free: 6.992 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.463e-06/0.02011, allocations: 0 / 0.8082 GB, free: 6.992 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.02013, allocations: 0.6562 kB / 0.8082 GB, free: 6.992 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.00185/0.02198, allocations: 2.065 MB / 0.8102 GB, free: 4.883 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.02201, allocations: 8.75 kB / 0.8102 GB, free: 4.875 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002521/0.02453, allocations: 0.9116 MB / 0.8111 GB, free: 3.969 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009638/0.0255, allocations: 0.9441 MB / 0.8121 GB, free: 3 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.508e-05/0.02555, allocations: 115.2 kB / 0.8122 GB, free: 2.887 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.02572, allocations: 148.3 kB / 0.8123 GB, free: 2.742 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/0.02753, allocations: 1.521 MB / 0.8138 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/0.02756, allocations: 8.125 kB / 0.8138 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.02767, allocations: 60.34 kB / 0.8139 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001395/0.02781, allocations: 182.9 kB / 0.814 GB, free: 0.8281 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008054/0.02861, allocations: 0.5589 MB / 0.8146 GB, free: 272 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006639/0.03525, allocations: 8.037 MB / 0.8224 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005856/0.03584, allocations: 409.7 kB / 0.8228 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003214/0.03616, allocations: 288.3 kB / 0.8231 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.694e-05/0.03621, allocations: 12.66 kB / 0.8231 GB, free: 7.27 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.03623, allocations: 54.03 kB / 0.8232 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=82): time 3.316e-06/0.03624, allocations: 0 / 0.8232 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of matching and sorting (n=139): time 0.009547/0.04578, allocations: 4.991 MB / 0.828 GB, free: 2.199 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.04583, allocations: 68.72 kB / 0.8281 GB, free: 2.121 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006121/0.04644, allocations: 0.7409 MB / 0.8288 GB, free: 1.363 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.766e-05/0.04654, allocations: 49.7 kB / 0.8289 GB, free: 1.309 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005194/0.04705, allocations: 0.8152 MB / 0.8297 GB, free: 492 kB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003837/0.04744, allocations: 0.5231 MB / 0.8302 GB, free: 15.95 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005524/0.04799, allocations: 293.1 kB / 0.8305 GB, free: 15.65 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.04817, allocations: 0.5315 MB / 0.831 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006791/0.04885, allocations: 247.8 kB / 0.8312 GB, free: 14.87 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007146/0.04957, allocations: 0.7125 MB / 0.8319 GB, free: 14 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.05062, allocations: 1.052 MB / 0.8329 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.066e-06/0.05063, allocations: 7.75 kB / 0.8329 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004282/0.05491, allocations: 2.512 MB / 0.8354 GB, free: 10.25 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.05493, allocations: 11.98 kB / 0.8354 GB, free: 10.23 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.05495, allocations: 8 kB / 0.8354 GB, free: 10.23 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00387/0.05882, allocations: 1.717 MB / 0.8371 GB, free: 8.496 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003587/0.05918, allocations: 171.7 kB / 0.8373 GB, free: 8.328 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01196/0.07114, allocations: 13.9 MB / 0.8508 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006855/0.07182, allocations: 44 kB / 0.8509 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.499e-05/0.0719, allocations: 43.98 kB / 0.8509 GB, free: 9.891 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000476/0.07237, allocations: 232.3 kB / 0.8511 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/0.07256, allocations: 155.3 kB / 0.8513 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003975/0.07654, allocations: 2.448 MB / 0.8537 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.07655, allocations: 12 kB / 0.8537 GB, free: 7.004 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.711e-05/0.07657, allocations: 23.94 kB / 0.8537 GB, free: 6.98 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.07659, allocations: 11.95 kB / 0.8537 GB, free: 6.969 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005826/0.08241, allocations: 3.984 MB / 0.8576 GB, free: 2.867 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.08242, allocations: 7.938 kB / 0.8576 GB, free: 2.859 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.08264, allocations: 99.89 kB / 0.8577 GB, free: 2.762 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003797/0.08644, allocations: 1.62 MB / 0.8593 GB, free: 1.129 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.285e-05/0.08651, allocations: 31.98 kB / 0.8593 GB, free: 1.098 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01166/0.09817, allocations: 12.82 MB / 0.8718 GB, free: 3.828 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.09817, allocations: 11.94 kB / 0.8719 GB, free: 3.816 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003954/0.1021, allocations: 2.512 MB / 0.8743 GB, free: 1.199 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004088/0.1025, allocations: 311 kB / 0.8746 GB, free: 0.8945 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.1026, allocations: 24 kB / 0.8746 GB, free: 0.8711 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00035/0.103, allocations: 24 kB / 0.8746 GB, free: 0.8477 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002774/0.1033, allocations: 136.9 kB / 0.8748 GB, free: 0.7109 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.236e-05/0.1033, allocations: 24 kB / 0.8748 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002828/0.1036, allocations: 438.8 kB / 0.8752 GB, free: 268 kB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.1036, allocations: 0 / 0.8752 GB, free: 268 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.001499/0.1051, allocations: 0.7266 MB / 0.8759 GB, free: 15.53 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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 {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001809/0.1053, allocations: 135.1 kB / 0.8761 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002528/0.1078, allocations: 2.336 MB / 0.8783 GB, free: 13 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1078, allocations: 0 / 0.8783 GB, free: 13 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001966/0.1098, allocations: 1.898 MB / 0.8802 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006896/0.1105, allocations: 221.8 kB / 0.8804 GB, free: 10.81 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003807/0.1143, allocations: 3.258 MB / 0.8836 GB, free: 7.465 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005836/0.1149, allocations: 0.5423 MB / 0.8841 GB, free: 6.895 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002995/0.1152, allocations: 97.53 kB / 0.8842 GB, free: 6.797 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003172/0.1155, allocations: 234.1 kB / 0.8844 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of SimCode: time 9.82e-07/0.1155, allocations: 8 kB / 0.8844 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of Templates: time 0.04239/0.1579, allocations: 43.86 MB / 0.9273 GB, free: 10.97 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.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.219426726922393]