Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.001418/0.001418, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001457/0.001457, allocations: 169 kB / 24.28 MB, free: 276 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.9598/0.9598, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.947/1.947, allocations: 377.8 MB / 0.6239 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 177] 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_RLC_N,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.8115 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.653e-05/2.785e-05, allocations: 2.312 kB / 0.8116 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.008423/0.008451, allocations: 10.14 MB / 0.8215 GB, free: 7.879 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004222/0.01267, allocations: 3.235 MB / 0.8246 GB, free: 4.645 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004947/0.01317, allocations: 47.62 kB / 0.8247 GB, free: 4.598 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.01425, allocations: 0.6161 MB / 0.8253 GB, free: 3.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.01532, allocations: 0.7996 MB / 0.826 GB, free: 3.184 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.01639, allocations: 0.7547 MB / 0.8268 GB, free: 2.434 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002145/0.01853, allocations: 3.038 MB / 0.8297 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/0.01992, allocations: 1.415 MB / 0.8311 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001592/0.02151, allocations: 1.744 MB / 0.8328 GB, free: 12.18 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001511/0.02303, allocations: 1.623 MB / 0.8344 GB, free: 10.56 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0002273/0.02325, allocations: 236 kB / 0.8346 GB, free: 10.33 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007154/0.02397, allocations: 487.2 kB / 0.8351 GB, free: 9.855 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0007728/0.02474, allocations: 1.169 MB / 0.8362 GB, free: 8.684 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0006411/0.02538, allocations: 0.7875 MB / 0.837 GB, free: 7.895 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001832/0.02721, allocations: 2.24 MB / 0.8392 GB, free: 5.648 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.02722, allocations: 4 kB / 0.8392 GB, free: 5.645 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.102e-06/0.02722, allocations: 1.719 kB / 0.8392 GB, free: 5.645 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.886e-05/0.02724, allocations: 0 / 0.8392 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.002352/0.02959, allocations: 2.28 MB / 0.8414 GB, free: 3.32 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.02964, allocations: 12.03 kB / 0.8414 GB, free: 3.309 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005264/0.0349, allocations: 1.663 MB / 0.8431 GB, free: 1.652 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/0.03648, allocations: 1.181 MB / 0.8442 GB, free: 448 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.849e-05/0.03654, allocations: 119.4 kB / 0.8443 GB, free: 328 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/0.03674, allocations: 144.3 kB / 0.8445 GB, free: 184 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/0.03922, allocations: 1.838 MB / 0.8463 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/0.03925, allocations: 4.188 kB / 0.8463 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001548/0.0394, allocations: 60.34 kB / 0.8463 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001771/0.03958, allocations: 211.1 kB / 0.8465 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.04128, allocations: 0.858 MB / 0.8474 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008614/0.04989, allocations: 8.963 MB / 0.8561 GB, free: 3.879 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.05093, allocations: 0.6408 MB / 0.8567 GB, free: 3.234 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007298/0.05166, allocations: 466.2 kB / 0.8572 GB, free: 2.781 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.819e-05/0.05173, allocations: 21 kB / 0.8572 GB, free: 2.762 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.05176, allocations: 46.39 kB / 0.8573 GB, free: 2.703 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=104): time 3.848e-06/0.05177, allocations: 0 / 0.8573 GB, free: 2.703 MB / 0.8073 GB Notification: Performance of matching and sorting (n=183): time 0.0194/0.07117, allocations: 9.427 MB / 0.8665 GB, free: 9.254 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.07121, allocations: 69.41 kB / 0.8665 GB, free: 9.176 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008706/0.07208, allocations: 0.9013 MB / 0.8674 GB, free: 8.258 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001778/0.07226, allocations: 49.7 kB / 0.8675 GB, free: 8.203 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004013/0.07266, allocations: 0.8705 MB / 0.8683 GB, free: 7.32 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004305/0.07309, allocations: 0.6703 MB / 0.869 GB, free: 6.645 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004832/0.07357, allocations: 357.1 kB / 0.8693 GB, free: 6.289 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.953e-05/0.07367, allocations: 484.7 kB / 0.8698 GB, free: 5.812 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008784/0.07455, allocations: 471.7 kB / 0.8702 GB, free: 5.352 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.07566, allocations: 0.9731 MB / 0.8712 GB, free: 4.211 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002013/0.07767, allocations: 1.539 MB / 0.8727 GB, free: 2.504 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/0.07768, allocations: 0 / 0.8727 GB, free: 2.504 MB / 0.823 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.009737/0.08741, allocations: 4.757 MB / 0.8773 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.118e-05/0.08745, allocations: 11.98 kB / 0.8773 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.758e-05/0.08748, allocations: 12.66 kB / 0.8773 GB, free: 13.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01329/0.1008, allocations: 3.588 MB / 0.8808 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005929/0.1014, allocations: 203.6 kB / 0.881 GB, free: 9.887 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02383/0.1252, allocations: 19.37 MB / 0.9 GB, free: 6.035 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.1264, allocations: 99.89 kB / 0.9 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002111/0.1266, allocations: 68 kB / 0.9001 GB, free: 5.871 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000614/0.1273, allocations: 256.2 kB / 0.9004 GB, free: 5.609 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003014/0.1276, allocations: 203.1 kB / 0.9006 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009169/0.1367, allocations: 4.724 MB / 0.9052 GB, free: 0.6445 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.1367, allocations: 20 kB / 0.9052 GB, free: 0.625 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.528e-05/0.1368, allocations: 28 kB / 0.9052 GB, free: 0.5977 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.045e-05/0.1368, allocations: 11.97 kB / 0.9052 GB, free: 0.5859 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01291/0.1497, allocations: 7.187 MB / 0.9122 GB, free: 9.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.1497, allocations: 4 kB / 0.9122 GB, free: 9.266 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.15, allocations: 123.8 kB / 0.9124 GB, free: 9.145 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008884/0.1589, allocations: 3.486 MB / 0.9158 GB, free: 5.641 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001664/0.1591, allocations: 36 kB / 0.9158 GB, free: 5.605 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02261/0.1817, allocations: 17.83 MB / 0.9332 GB, free: 3.273 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.1817, allocations: 8 kB / 0.9332 GB, free: 3.266 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009281/0.191, allocations: 4.699 MB / 0.9378 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008979/0.1919, allocations: 0.5067 MB / 0.9383 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002256/0.1921, allocations: 36 kB / 0.9383 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006643/0.1927, allocations: 91.83 kB / 0.9384 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007247/0.1935, allocations: 169.6 kB / 0.9386 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.903e-05/0.1936, allocations: 44 kB / 0.9386 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005386/0.1941, allocations: 0.55 MB / 0.9392 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.1941, allocations: 0 / 0.9392 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002258/0.1964, allocations: 1.012 MB / 0.9402 GB, free: 12.04 MB / 0.9011 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002439/0.1966, allocations: 135.1 kB / 0.9403 GB, free: 11.9 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004695/0.2013, allocations: 3.259 MB / 0.9435 GB, free: 8.566 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2013, allocations: 4 kB / 0.9435 GB, free: 8.562 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.003914/0.2052, allocations: 2.758 MB / 0.9462 GB, free: 5.727 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009877/0.2062, allocations: 233.5 kB / 0.9464 GB, free: 5.504 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005386/0.2116, allocations: 4.045 MB / 0.9503 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006401/0.2122, allocations: 0.635 MB / 0.951 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004719/0.2127, allocations: 287.2 kB / 0.9512 GB, free: 432 kB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.2128, allocations: 60.5 kB / 0.9513 GB, free: 372 kB / 0.9011 GB Notification: Performance of SimCode: time 1.483e-06/0.2128, allocations: 0 / 0.9513 GB, free: 372 kB / 0.9011 GB Notification: Performance of Templates: time 0.06201/0.2748, allocations: 65.62 MB / 1.015 GB, free: 14.61 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.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.00802820106037]