Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008576/0.0008576, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0009534/0.0009534, allocations: 173.9 kB / 23.21 MB, free: 1.348 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.9241/0.9241, allocations: 177.2 MB / 203.5 MB, free: 5.684 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.736/1.736, allocations: 377.9 MB / 0.6228 GB, free: 8.633 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_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_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.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.9822 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.385e-05/3.563e-05, allocations: 8.953 kB / 0.9822 GB, free: 2.035 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.00828/0.008315, allocations: 9.485 MB / 0.9915 GB, free: 8.512 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.004038/0.01235, allocations: 3.005 MB / 0.9944 GB, free: 5.496 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005266/0.01288, allocations: 51.62 kB / 0.9945 GB, free: 5.445 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.01404, allocations: 0.6938 MB / 0.9951 GB, free: 4.75 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001151/0.01519, allocations: 0.7344 MB / 0.9959 GB, free: 4.012 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.01621, allocations: 0.6538 MB / 0.9965 GB, free: 3.359 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.002115/0.01833, allocations: 2.784 MB / 0.9992 GB, free: 0.5703 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.01975, allocations: 1.36 MB / 1.001 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001787/0.02154, allocations: 1.583 MB / 1.002 GB, free: 13.58 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001378/0.02292, allocations: 1.372 MB / 1.003 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0002514/0.02317, allocations: 219.9 kB / 1.004 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006848/0.02385, allocations: 471.2 kB / 1.004 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0006644/0.02452, allocations: 1.045 MB / 1.005 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0006508/0.02517, allocations: 0.7134 MB / 1.006 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.002447/0.02762, allocations: 3.491 MB / 1.009 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.02762, allocations: 0 / 1.009 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.563e-06/0.02762, allocations: 8 kB / 1.009 GB, free: 6.258 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.885e-05/0.02767, allocations: 0 / 1.009 GB, free: 6.258 MB / 0.9636 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.00275/0.03042, allocations: 1.893 MB / 1.011 GB, free: 4.324 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.03046, allocations: 12.03 kB / 1.011 GB, free: 4.312 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002895/0.03336, allocations: 0.9088 MB / 1.012 GB, free: 3.402 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001589/0.03495, allocations: 1.131 MB / 1.013 GB, free: 2.238 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.07e-05/0.03501, allocations: 111.3 kB / 1.013 GB, free: 2.129 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002206/0.03523, allocations: 140.3 kB / 1.013 GB, free: 1.992 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003457/0.03869, allocations: 3.097 MB / 1.016 GB, free: 14.78 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.408e-05/0.03872, allocations: 8.125 kB / 1.016 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/0.03885, allocations: 64.34 kB / 1.016 GB, free: 14.71 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001501/0.039, allocations: 178.9 kB / 1.017 GB, free: 14.53 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002915/0.04192, allocations: 2.604 MB / 1.019 GB, free: 11.92 MB / 0.9792 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009123/0.05104, allocations: 9.038 MB / 1.028 GB, free: 2.664 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.05241, allocations: 1.217 MB / 1.029 GB, free: 1.434 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009398/0.05335, allocations: 0.9837 MB / 1.03 GB, free: 460 kB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 5.258e-05/0.0534, allocations: 8.656 kB / 1.03 GB, free: 448 kB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.05342, allocations: 43.22 kB / 1.03 GB, free: 396 kB / 0.9792 GB Notification: Performance of pre-optimization done (n=82): time 3.677e-06/0.05343, allocations: 0 / 1.03 GB, free: 396 kB / 0.9792 GB Notification: Performance of matching and sorting (n=139): time 0.5855/0.639, allocations: 18.88 MB / 1.049 GB, free: 99.98 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.639, allocations: 67.5 kB / 1.049 GB, free: 99.92 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008073/0.6398, allocations: 0.9042 MB / 1.05 GB, free: 99.57 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002011/0.64, allocations: 47.95 kB / 1.05 GB, free: 99.53 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/0.6403, allocations: 0.748 MB / 1.05 GB, free: 99.27 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/0.6405, allocations: 498.8 kB / 1.051 GB, free: 98.95 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000317/0.6408, allocations: 293.6 kB / 1.051 GB, free: 98.82 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.694e-05/0.6409, allocations: 354 kB / 1.051 GB, free: 98.5 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.642, allocations: 1.335 MB / 1.053 GB, free: 98.05 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.6432, allocations: 1.657 MB / 1.054 GB, free: 97.25 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002616/0.6458, allocations: 3.091 MB / 1.057 GB, free: 95.87 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/0.6458, allocations: 6.562 kB / 1.057 GB, free: 95.87 MB / 0.9948 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.006964/0.6528, allocations: 5.551 MB / 1.063 GB, free: 94.14 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 4.194e-05/0.6528, allocations: 10.88 kB / 1.063 GB, free: 94.14 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/0.6528, allocations: 12.25 kB / 1.063 GB, free: 94.14 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004834/0.6577, allocations: 2.712 MB / 1.065 GB, free: 93.64 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006192/0.6583, allocations: 194.5 kB / 1.066 GB, free: 93.62 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02291/0.6812, allocations: 24.83 MB / 1.09 GB, free: 81.03 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.6824, allocations: 101.9 kB / 1.09 GB, free: 81 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.566e-05/0.6825, allocations: 52.34 kB / 1.09 GB, free: 81 MB / 0.9948 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.001126/0.6836, allocations: 0.7443 MB / 1.091 GB, free: 80.63 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/0.6838, allocations: 115.7 kB / 1.091 GB, free: 80.57 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007728/0.6915, allocations: 5.306 MB / 1.096 GB, free: 78.86 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.6915, allocations: 13.34 kB / 1.096 GB, free: 78.86 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-05/0.6915, allocations: 21.81 kB / 1.096 GB, free: 78.86 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.141e-05/0.6916, allocations: 7.031 kB / 1.096 GB, free: 78.86 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/0.7031, allocations: 7.966 MB / 1.104 GB, free: 76.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.7031, allocations: 4.312 kB / 1.104 GB, free: 76.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003528/0.7034, allocations: 124.3 kB / 1.104 GB, free: 76.09 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00554/0.709, allocations: 2.581 MB / 1.107 GB, free: 75.61 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000173/0.7091, allocations: 29.22 kB / 1.107 GB, free: 75.59 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02207/0.7312, allocations: 23.31 MB / 1.129 GB, free: 63.79 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.7312, allocations: 6.172 kB / 1.129 GB, free: 63.79 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006639/0.7378, allocations: 5.171 MB / 1.134 GB, free: 61.15 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009149/0.7388, allocations: 421.2 kB / 1.135 GB, free: 60.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/0.7389, allocations: 33.38 kB / 1.135 GB, free: 60.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005266/0.7394, allocations: 72.62 kB / 1.135 GB, free: 60.87 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005868/0.74, allocations: 131.6 kB / 1.135 GB, free: 60.78 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.128e-05/0.7401, allocations: 39.03 kB / 1.135 GB, free: 60.77 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0007398/0.7408, allocations: 0.6254 MB / 1.136 GB, free: 60.42 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4e-08/0.7408, allocations: 0 / 1.136 GB, free: 60.42 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002708/0.7436, allocations: 0.7204 MB / 1.136 GB, free: 60.36 MB / 0.9948 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.0002753/0.7438, allocations: 137 kB / 1.136 GB, free: 60.24 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005652/0.7495, allocations: 4.086 MB / 1.14 GB, free: 57.96 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/0.7495, allocations: 1.375 kB / 1.14 GB, free: 57.96 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.003439/0.7529, allocations: 2.603 MB / 1.143 GB, free: 56.39 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009424/0.7539, allocations: 222.2 kB / 1.143 GB, free: 56.29 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00437/0.7582, allocations: 4.328 MB / 1.147 GB, free: 53.84 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008318/0.7591, allocations: 1.14 MB / 1.149 GB, free: 53.23 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.7593, allocations: 64.47 kB / 1.149 GB, free: 53.18 MB / 0.9948 GB Notification: Performance of SimCode: time 2.094e-06/0.7593, allocations: 0 / 1.149 GB, free: 53.18 MB / 0.9948 GB Notification: Performance of Templates: time 0.03521/0.7945, allocations: 60.56 MB / 1.208 GB, free: 8.625 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.363269785419106]