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.001846/0.001846, allocations: 116.6 kB / 17.13 MB, free: 6.027 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.002161/0.002161, allocations: 208.7 kB / 20.1 MB, free: 3.074 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.57/1.57, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.938/2.938, allocations: 0.49 GB / 0.7923 GB, free: 1.309 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.002047/0.002047, allocations: 67.89 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08/1.082, allocations: 176.1 MB / 1.322 GB, free: 25.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01071/1.092, allocations: 10.18 MB / 1.332 GB, free: 18.17 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005678/1.098, allocations: 3.11 MB / 1.335 GB, free: 16.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009407/1.099, allocations: 50.12 kB / 1.335 GB, free: 16.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001938/1.101, allocations: 0.7059 MB / 1.336 GB, free: 15.6 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001947/1.103, allocations: 0.7218 MB / 1.336 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001857/1.105, allocations: 0.6417 MB / 1.337 GB, free: 14.85 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004481/1.109, allocations: 2.735 MB / 1.34 GB, free: 13.69 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002855/1.112, allocations: 1.899 MB / 1.342 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002759/1.115, allocations: 1.155 MB / 1.343 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003159/1.118, allocations: 1.488 MB / 1.344 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0007406/1.119, allocations: 217.3 kB / 1.344 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001731/1.121, allocations: 0.4965 MB / 1.345 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001535/1.122, allocations: 1.003 MB / 1.346 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002046/1.124, allocations: 1.018 MB / 1.347 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005471/1.13, allocations: 3.415 MB / 1.35 GB, free: 9.695 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/1.13, allocations: 1.031 kB / 1.35 GB, free: 9.695 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.224e-06/1.13, allocations: 0 / 1.35 GB, free: 9.695 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001114/1.13, allocations: 0 / 1.35 GB, free: 9.695 MB / 1.061 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.005781/1.135, allocations: 1.982 MB / 1.352 GB, free: 8.457 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/1.136, allocations: 13.14 kB / 1.352 GB, free: 8.453 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006401/1.142, allocations: 0.8978 MB / 1.353 GB, free: 8.309 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002766/1.145, allocations: 1.172 MB / 1.354 GB, free: 7.652 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.324e-05/1.145, allocations: 111 kB / 1.354 GB, free: 7.602 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004434/1.145, allocations: 142.8 kB / 1.354 GB, free: 7.555 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008252/1.153, allocations: 3.014 MB / 1.357 GB, free: 6.379 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.337e-05/1.154, allocations: 13.73 kB / 1.357 GB, free: 6.367 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002277/1.154, allocations: 66.52 kB / 1.357 GB, free: 6.316 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002911/1.154, allocations: 177 kB / 1.358 GB, free: 6.293 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004895/1.159, allocations: 2.607 MB / 1.36 GB, free: 5.449 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.01827/1.177, allocations: 13.52 MB / 1.373 GB, free: 11.59 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002231/1.179, allocations: 1.218 MB / 1.374 GB, free: 11.19 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/1.181, allocations: 0.9756 MB / 1.375 GB, free: 10.88 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.607e-05/1.181, allocations: 8.406 kB / 1.375 GB, free: 10.88 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/1.181, allocations: 47.55 kB / 1.375 GB, free: 10.83 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 2.865e-06/1.181, allocations: 0 / 1.375 GB, free: 10.83 MB / 1.076 GB Notification: Performance of matching and sorting (n=139): time 0.08249/1.264, allocations: 19.34 MB / 1.394 GB, free: 5.582 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.247e-05/1.264, allocations: 66.72 kB / 1.394 GB, free: 5.516 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001543/1.265, allocations: 0.9218 MB / 1.395 GB, free: 4.992 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000348/1.266, allocations: 50.42 kB / 1.395 GB, free: 4.941 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006313/1.266, allocations: 0.7522 MB / 1.396 GB, free: 4.27 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006211/1.267, allocations: 0.5031 MB / 1.397 GB, free: 3.824 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006585/1.267, allocations: 290.4 kB / 1.397 GB, free: 3.68 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002081/1.268, allocations: 361.7 kB / 1.397 GB, free: 3.332 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002188/1.27, allocations: 1.334 MB / 1.399 GB, free: 2.656 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002454/1.272, allocations: 1.656 MB / 1.4 GB, free: 1.605 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004935/1.277, allocations: 3.088 MB / 1.403 GB, free: 15.8 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/1.277, allocations: 2.188 kB / 1.403 GB, free: 15.8 MB / 1.092 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01379/1.291, allocations: 5.559 MB / 1.409 GB, free: 12.77 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/1.291, allocations: 10 kB / 1.409 GB, free: 12.77 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-05/1.291, allocations: 12.09 kB / 1.409 GB, free: 12.76 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009953/1.301, allocations: 2.719 MB / 1.411 GB, free: 11.41 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009828/1.302, allocations: 193.1 kB / 1.411 GB, free: 11.36 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04138/1.343, allocations: 25.73 MB / 1.437 GB, free: 2.074 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/1.345, allocations: 91.95 kB / 1.437 GB, free: 1.984 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002198/1.346, allocations: 56 kB / 1.437 GB, free: 1.93 MB / 1.107 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.001502/1.347, allocations: 0.7354 MB / 1.437 GB, free: 1.184 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003248/1.347, allocations: 119.2 kB / 1.438 GB, free: 1.066 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/1.36, allocations: 5.322 MB / 1.443 GB, free: 11.7 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.448e-05/1.36, allocations: 16 kB / 1.443 GB, free: 11.69 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.412e-05/1.36, allocations: 16 kB / 1.443 GB, free: 11.67 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-05/1.36, allocations: 7.969 kB / 1.443 GB, free: 11.66 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0183/1.378, allocations: 8.611 MB / 1.451 GB, free: 2.941 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/1.378, allocations: 0 / 1.451 GB, free: 2.941 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005204/1.379, allocations: 120.2 kB / 1.451 GB, free: 2.824 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009317/1.388, allocations: 2.597 MB / 1.454 GB, free: 220 kB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002132/1.388, allocations: 28 kB / 1.454 GB, free: 192 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03872/1.427, allocations: 24.18 MB / 1.477 GB, free: 7.438 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/1.427, allocations: 8.062 kB / 1.477 GB, free: 7.43 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01243/1.44, allocations: 5.171 MB / 1.483 GB, free: 2.176 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001443/1.441, allocations: 0.4884 MB / 1.483 GB, free: 1.668 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003011/1.441, allocations: 24 kB / 1.483 GB, free: 1.645 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/1.442, allocations: 83.89 kB / 1.483 GB, free: 1.562 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006573/1.443, allocations: 121 kB / 1.483 GB, free: 1.441 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/1.443, allocations: 36 kB / 1.483 GB, free: 1.406 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001075/1.444, allocations: 0.6473 MB / 1.484 GB, free: 0.7578 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.444, allocations: 0 / 1.484 GB, free: 0.7578 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.003086/1.447, allocations: 0.7188 MB / 1.485 GB, free: 40 kB / 1.154 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.0003372/1.448, allocations: 143.1 kB / 1.485 GB, free: 15.89 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.007552/1.455, allocations: 4.074 MB / 1.489 GB, free: 11.77 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.455, allocations: 0.5 kB / 1.489 GB, free: 11.77 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.005746/1.461, allocations: 2.626 MB / 1.491 GB, free: 9.09 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/1.463, allocations: 235.9 kB / 1.491 GB, free: 8.871 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007535/1.47, allocations: 4.286 MB / 1.496 GB, free: 4.516 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001804/1.472, allocations: 1.735 MB / 1.497 GB, free: 2.746 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003403/1.472, allocations: 71.36 kB / 1.497 GB, free: 2.676 MB / 1.17 GB Notification: Performance of SimCode: time 1.413e-06/1.472, allocations: 0 / 1.497 GB, free: 2.676 MB / 1.17 GB Notification: Performance of Templates: time 0.07034/1.543, allocations: 60.06 MB / 1.556 GB, free: 6.609 MB / 1.232 GB " [Timeout remaining time 298] 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/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: 15.94322102399019]