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.00139/0.00139, allocations: 100.4 kB / 19.7 MB, free: 2.125 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.001582/0.001582, allocations: 214.8 kB / 22.99 MB, free: 4.949 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.555/1.555, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.277/3.277, allocations: 0.4892 GB / 0.7951 GB, free: 35.68 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.002135/0.002135, allocations: 68.61 kB / 1.154 GB, free: 25.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3558, allocations: 176.1 MB / 1.326 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01379/0.3695, allocations: 9.66 MB / 1.336 GB, free: 8.199 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006339/0.3759, allocations: 3.025 MB / 1.339 GB, free: 5.164 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008916/0.3768, allocations: 47.69 kB / 1.339 GB, free: 5.117 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002241/0.379, allocations: 0.6842 MB / 1.339 GB, free: 4.43 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001975/0.381, allocations: 0.7273 MB / 1.34 GB, free: 3.699 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.3826, allocations: 0.6384 MB / 1.341 GB, free: 3.062 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003409/0.386, allocations: 2.734 MB / 1.343 GB, free: 324 kB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002076/0.3881, allocations: 1.364 MB / 1.345 GB, free: 14.91 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001847/0.3899, allocations: 1.169 MB / 1.346 GB, free: 13.73 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002236/0.3922, allocations: 1.437 MB / 1.347 GB, free: 12.29 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003723/0.3925, allocations: 216 kB / 1.347 GB, free: 12.08 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.3936, allocations: 459.4 kB / 1.348 GB, free: 11.63 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001131/0.3947, allocations: 1.005 MB / 1.349 GB, free: 10.62 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001089/0.3958, allocations: 0.8366 MB / 1.35 GB, free: 9.785 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003844/0.3996, allocations: 3.438 MB / 1.353 GB, free: 6.336 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3996, allocations: 0 / 1.353 GB, free: 6.336 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.455e-06/0.3996, allocations: 0 / 1.353 GB, free: 6.336 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.233e-05/0.3997, allocations: 0 / 1.353 GB, free: 6.336 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.003946/0.4036, allocations: 1.909 MB / 1.355 GB, free: 4.387 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.4037, allocations: 8.031 kB / 1.355 GB, free: 4.379 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005806/0.4095, allocations: 0.897 MB / 1.356 GB, free: 3.48 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002917/0.4124, allocations: 1.128 MB / 1.357 GB, free: 2.32 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.4125, allocations: 115.3 kB / 1.357 GB, free: 2.207 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003274/0.4128, allocations: 140.3 kB / 1.357 GB, free: 2.07 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005916/0.4188, allocations: 3.096 MB / 1.36 GB, free: 14.86 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.807e-05/0.4188, allocations: 7.891 kB / 1.36 GB, free: 14.85 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001943/0.419, allocations: 63.97 kB / 1.36 GB, free: 14.79 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000278/0.4193, allocations: 175 kB / 1.36 GB, free: 14.61 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004871/0.4242, allocations: 2.6 MB / 1.363 GB, free: 12.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.01749/0.4416, allocations: 9.039 MB / 1.372 GB, free: 2.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002317/0.444, allocations: 1.217 MB / 1.373 GB, free: 1.516 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/0.4455, allocations: 0.9846 MB / 1.374 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.348e-05/0.4456, allocations: 8.656 kB / 1.374 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.286e-05/0.4457, allocations: 39.22 kB / 1.374 GB, free: 488 kB / 1.061 GB Notification: Performance of pre-optimization done (n=82): time 6.602e-06/0.4457, allocations: 4 kB / 1.374 GB, free: 484 kB / 1.061 GB Notification: Performance of matching and sorting (n=139): time 0.07706/0.5227, allocations: 18.88 MB / 1.392 GB, free: 13.56 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.5228, allocations: 68.66 kB / 1.393 GB, free: 13.48 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.5242, allocations: 0.9102 MB / 1.393 GB, free: 12.56 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002084/0.5244, allocations: 49.7 kB / 1.393 GB, free: 12.5 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006201/0.525, allocations: 0.754 MB / 1.394 GB, free: 11.74 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005269/0.5256, allocations: 0.4957 MB / 1.395 GB, free: 11.24 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005942/0.5262, allocations: 291.5 kB / 1.395 GB, free: 10.95 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001925/0.5263, allocations: 353.9 kB / 1.395 GB, free: 10.59 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002074/0.5284, allocations: 1.335 MB / 1.397 GB, free: 9.258 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00233/0.5307, allocations: 1.659 MB / 1.398 GB, free: 7.488 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00439/0.5351, allocations: 3.096 MB / 1.401 GB, free: 4.273 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.5351, allocations: 0 / 1.401 GB, free: 4.273 MB / 1.092 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01222/0.5474, allocations: 5.553 MB / 1.407 GB, free: 14.7 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/0.5474, allocations: 16.12 kB / 1.407 GB, free: 14.68 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/0.5474, allocations: 8 kB / 1.407 GB, free: 14.67 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009119/0.5565, allocations: 2.718 MB / 1.409 GB, free: 11.94 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009399/0.5575, allocations: 195.7 kB / 1.41 GB, free: 11.75 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03905/0.5965, allocations: 24.83 MB / 1.434 GB, free: 2.504 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/0.5981, allocations: 100 kB / 1.434 GB, free: 2.406 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/0.5983, allocations: 71.91 kB / 1.434 GB, free: 2.336 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.001325/0.5996, allocations: 0.7359 MB / 1.435 GB, free: 1.59 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002601/0.5999, allocations: 115.3 kB / 1.435 GB, free: 1.477 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01146/0.6113, allocations: 5.306 MB / 1.44 GB, free: 12.14 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.125e-05/0.6114, allocations: 15.94 kB / 1.44 GB, free: 12.12 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-05/0.6114, allocations: 20 kB / 1.44 GB, free: 12.1 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.241e-05/0.6114, allocations: 7.969 kB / 1.44 GB, free: 12.09 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01692/0.6284, allocations: 7.964 MB / 1.448 GB, free: 4.027 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/0.6284, allocations: 7.938 kB / 1.448 GB, free: 4.02 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005193/0.6289, allocations: 115.8 kB / 1.448 GB, free: 3.906 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008887/0.6378, allocations: 2.588 MB / 1.45 GB, free: 1.305 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002048/0.638, allocations: 28 kB / 1.45 GB, free: 1.277 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03745/0.6754, allocations: 23.31 MB / 1.473 GB, free: 9.555 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-06/0.6754, allocations: 7.938 kB / 1.473 GB, free: 9.547 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01172/0.6872, allocations: 5.179 MB / 1.478 GB, free: 4.285 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/0.6885, allocations: 423.1 kB / 1.479 GB, free: 3.871 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002311/0.6887, allocations: 28 kB / 1.479 GB, free: 3.844 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009584/0.6897, allocations: 75.89 kB / 1.479 GB, free: 3.77 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005662/0.6902, allocations: 129 kB / 1.479 GB, free: 3.641 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.6903, allocations: 40 kB / 1.479 GB, free: 3.602 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0009264/0.6913, allocations: 0.6241 MB / 1.48 GB, free: 2.98 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.6913, allocations: 0 / 1.48 GB, free: 2.98 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00246/0.6937, allocations: 0.7226 MB / 1.48 GB, free: 2.258 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.0002898/0.694, allocations: 135.1 kB / 1.48 GB, free: 2.117 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.007689/0.7017, allocations: 4.094 MB / 1.484 GB, free: 13.97 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/0.7017, allocations: 12.12 kB / 1.484 GB, free: 13.96 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.005703/0.7074, allocations: 2.607 MB / 1.487 GB, free: 11.3 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.7088, allocations: 214.9 kB / 1.487 GB, free: 11.09 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007583/0.7164, allocations: 4.34 MB / 1.491 GB, free: 6.688 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001591/0.718, allocations: 1.144 MB / 1.492 GB, free: 5.508 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003253/0.7183, allocations: 63.42 kB / 1.493 GB, free: 5.445 MB / 1.186 GB Notification: Performance of SimCode: time 1.093e-06/0.7183, allocations: 0 / 1.493 GB, free: 5.445 MB / 1.186 GB Notification: Performance of Templates: time 0.07597/0.7943, allocations: 60.59 MB / 1.552 GB, free: 8.844 MB / 1.248 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/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.343910961877555]