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.001649/0.001649, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 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.002195/0.002195, allocations: 210.5 kB / 22.99 MB, free: 4.984 MB / 14.72 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 1.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.262/3.262, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 69.14 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3419, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01306/0.3549, allocations: 9.649 MB / 1.337 GB, free: 7.297 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005778/0.3607, allocations: 3.029 MB / 1.339 GB, free: 4.258 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006414/0.3613, allocations: 55.62 kB / 1.34 GB, free: 4.203 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00201/0.3634, allocations: 0.6863 MB / 1.34 GB, free: 3.516 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001654/0.365, allocations: 0.7235 MB / 1.341 GB, free: 2.789 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.3666, allocations: 0.6316 MB / 1.342 GB, free: 2.156 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003297/0.3699, allocations: 2.738 MB / 1.344 GB, free: 15.41 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001975/0.3718, allocations: 1.375 MB / 1.346 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001919/0.3738, allocations: 1.169 MB / 1.347 GB, free: 12.81 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00216/0.3759, allocations: 1.496 MB / 1.348 GB, free: 11.31 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003615/0.3763, allocations: 216 kB / 1.348 GB, free: 11.1 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009596/0.3772, allocations: 459.4 kB / 1.349 GB, free: 10.65 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001072/0.3783, allocations: 1.005 MB / 1.35 GB, free: 9.645 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.3793, allocations: 0.8327 MB / 1.351 GB, free: 8.809 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003768/0.3831, allocations: 3.438 MB / 1.354 GB, free: 5.359 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3831, allocations: 4 kB / 1.354 GB, free: 5.355 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3831, allocations: 0 / 1.354 GB, free: 5.355 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.332e-05/0.3832, allocations: 0 / 1.354 GB, free: 5.355 MB / 1.045 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.003857/0.387, allocations: 1.913 MB / 1.356 GB, free: 3.402 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3871, allocations: 12.03 kB / 1.356 GB, free: 3.391 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005894/0.393, allocations: 0.8931 MB / 1.357 GB, free: 2.496 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002826/0.3958, allocations: 1.124 MB / 1.358 GB, free: 1.34 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.3959, allocations: 111.3 kB / 1.358 GB, free: 1.23 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003424/0.3962, allocations: 148.3 kB / 1.358 GB, free: 1.086 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005198/0.4014, allocations: 3.096 MB / 1.361 GB, free: 13.87 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.214e-05/0.4015, allocations: 7.953 kB / 1.361 GB, free: 13.86 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002011/0.4017, allocations: 63.97 kB / 1.361 GB, free: 13.8 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002448/0.4019, allocations: 190.9 kB / 1.361 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004355/0.4063, allocations: 2.596 MB / 1.364 GB, free: 11.01 MB / 1.061 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.01543/0.4217, allocations: 9.036 MB / 1.373 GB, free: 1.758 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002048/0.4237, allocations: 1.219 MB / 1.374 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001446/0.4252, allocations: 0.9766 MB / 1.375 GB, free: 15.55 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.032e-05/0.4253, allocations: 8.656 kB / 1.375 GB, free: 15.54 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.4253, allocations: 47.16 kB / 1.375 GB, free: 15.48 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 2.815e-06/0.4253, allocations: 0 / 1.375 GB, free: 15.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=139): time 0.0732/0.4985, allocations: 18.89 MB / 1.393 GB, free: 12.56 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/0.4986, allocations: 72.66 kB / 1.393 GB, free: 12.48 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.4999, allocations: 0.9063 MB / 1.394 GB, free: 11.56 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.000226/0.5002, allocations: 45.7 kB / 1.394 GB, free: 11.51 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006244/0.5008, allocations: 0.7462 MB / 1.395 GB, free: 10.75 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005605/0.5013, allocations: 0.4957 MB / 1.396 GB, free: 10.25 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006062/0.5019, allocations: 299.5 kB / 1.396 GB, free: 9.953 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002449/0.5022, allocations: 353.9 kB / 1.396 GB, free: 9.602 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002047/0.5042, allocations: 1.331 MB / 1.397 GB, free: 8.27 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002278/0.5065, allocations: 1.659 MB / 1.399 GB, free: 6.5 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004513/0.511, allocations: 3.088 MB / 1.402 GB, free: 3.293 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.511, allocations: 7.938 kB / 1.402 GB, free: 3.285 MB / 1.092 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01232/0.5234, allocations: 5.555 MB / 1.408 GB, free: 13.7 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.5234, allocations: 8.656 kB / 1.408 GB, free: 13.7 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.267e-05/0.5234, allocations: 8 kB / 1.408 GB, free: 13.69 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009204/0.5326, allocations: 2.718 MB / 1.41 GB, free: 10.96 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009023/0.5335, allocations: 195.6 kB / 1.41 GB, free: 10.77 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0386/0.5721, allocations: 24.84 MB / 1.435 GB, free: 1.512 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.5736, allocations: 95.95 kB / 1.435 GB, free: 1.418 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/0.5737, allocations: 59.88 kB / 1.435 GB, free: 1.359 MB / 1.123 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.00123/0.575, allocations: 0.7411 MB / 1.435 GB, free: 0.6094 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/0.5752, allocations: 119.3 kB / 1.436 GB, free: 0.4922 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01184/0.5871, allocations: 5.302 MB / 1.441 GB, free: 11.16 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.71e-05/0.5871, allocations: 19.94 kB / 1.441 GB, free: 11.14 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.707e-05/0.5871, allocations: 16 kB / 1.441 GB, free: 11.12 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.752e-05/0.5872, allocations: 7.969 kB / 1.441 GB, free: 11.11 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01703/0.6042, allocations: 7.963 MB / 1.449 GB, free: 3.047 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/0.6042, allocations: 4.469 kB / 1.449 GB, free: 3.043 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005266/0.6047, allocations: 123.8 kB / 1.449 GB, free: 2.922 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008996/0.6137, allocations: 2.585 MB / 1.451 GB, free: 336 kB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002067/0.6139, allocations: 28.38 kB / 1.451 GB, free: 308 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03635/0.6503, allocations: 23.32 MB / 1.474 GB, free: 8.562 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/0.6503, allocations: 4 kB / 1.474 GB, free: 8.559 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01134/0.6616, allocations: 5.175 MB / 1.479 GB, free: 3.301 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001384/0.663, allocations: 423.1 kB / 1.48 GB, free: 2.887 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002446/0.6633, allocations: 28 kB / 1.48 GB, free: 2.859 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008725/0.6641, allocations: 83.91 kB / 1.48 GB, free: 2.777 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005556/0.6647, allocations: 128.9 kB / 1.48 GB, free: 2.648 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/0.6648, allocations: 36 kB / 1.48 GB, free: 2.613 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0008806/0.6657, allocations: 0.62 MB / 1.48 GB, free: 1.996 MB / 1.17 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6657, allocations: 0 / 1.48 GB, free: 1.996 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00256/0.6683, allocations: 0.7227 MB / 1.481 GB, free: 1.273 MB / 1.17 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.0002958/0.6686, allocations: 143 kB / 1.481 GB, free: 1.125 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.007378/0.6759, allocations: 4.078 MB / 1.485 GB, free: 12.99 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.6759, allocations: 0 / 1.485 GB, free: 12.99 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.005407/0.6813, allocations: 2.615 MB / 1.488 GB, free: 10.33 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/0.6828, allocations: 226.4 kB / 1.488 GB, free: 10.11 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006896/0.6897, allocations: 4.061 MB / 1.492 GB, free: 5.988 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00148/0.6912, allocations: 1.109 MB / 1.493 GB, free: 4.844 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0007817/0.692, allocations: 325.2 kB / 1.493 GB, free: 4.523 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.6921, allocations: 55.44 kB / 1.493 GB, free: 4.469 MB / 1.186 GB Notification: Performance of SimCode: time 8.82e-07/0.6921, allocations: 0 / 1.493 GB, free: 4.469 MB / 1.186 GB Notification: Performance of Templates: time 0.06503/0.7572, allocations: 44.37 MB / 1.537 GB, free: 8.348 MB / 1.232 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 -s cvode -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/jenkins1/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: 9.825487132009584]