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.001374/0.001374, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001869/0.001869, allocations: 218.6 kB / 23.01 MB, free: 4.609 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.562/1.562, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.49/3.49, allocations: 0.49 GB / 0.7958 GB, free: 33.36 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.002248/0.002248, allocations: 74.11 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3989, allocations: 176.1 MB / 1.327 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01402/0.4129, allocations: 10.48 MB / 1.337 GB, free: 6.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006336/0.4192, allocations: 3.166 MB / 1.34 GB, free: 3.754 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008646/0.4201, allocations: 47.69 kB / 1.341 GB, free: 3.707 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00206/0.4222, allocations: 0.7115 MB / 1.341 GB, free: 2.992 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001971/0.4241, allocations: 0.7234 MB / 1.342 GB, free: 2.266 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001678/0.4258, allocations: 0.647 MB / 1.343 GB, free: 1.617 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003803/0.4296, allocations: 2.738 MB / 1.345 GB, free: 14.87 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002148/0.4318, allocations: 1.375 MB / 1.347 GB, free: 13.45 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002034/0.4338, allocations: 1.157 MB / 1.348 GB, free: 12.29 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002421/0.4362, allocations: 1.496 MB / 1.349 GB, free: 10.79 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003532/0.4366, allocations: 216 kB / 1.349 GB, free: 10.57 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.4376, allocations: 0.4915 MB / 1.35 GB, free: 10.08 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001083/0.4387, allocations: 1.009 MB / 1.351 GB, free: 9.07 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001185/0.4399, allocations: 1.011 MB / 1.352 GB, free: 8.055 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003835/0.4437, allocations: 3.415 MB / 1.355 GB, free: 4.629 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.914e-06/0.4437, allocations: 4 kB / 1.355 GB, free: 4.625 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4437, allocations: 0 / 1.355 GB, free: 4.625 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.401e-05/0.4438, allocations: 0 / 1.355 GB, free: 4.625 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.004114/0.4479, allocations: 1.917 MB / 1.357 GB, free: 2.668 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.4479, allocations: 8.031 kB / 1.357 GB, free: 2.66 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00536/0.4533, allocations: 0.897 MB / 1.358 GB, free: 1.762 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002834/0.4561, allocations: 1.124 MB / 1.359 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.541e-05/0.4562, allocations: 107.3 kB / 1.359 GB, free: 0.5 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003129/0.4566, allocations: 144.3 kB / 1.359 GB, free: 368 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00545/0.462, allocations: 3.017 MB / 1.362 GB, free: 13.24 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.983e-05/0.462, allocations: 11.83 kB / 1.362 GB, free: 13.23 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001904/0.4622, allocations: 67.97 kB / 1.362 GB, free: 13.16 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000245/0.4625, allocations: 179 kB / 1.362 GB, free: 12.99 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004441/0.4669, allocations: 2.612 MB / 1.365 GB, free: 10.37 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.01851/0.4854, allocations: 13.38 MB / 1.378 GB, free: 11.9 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002054/0.4875, allocations: 1.226 MB / 1.379 GB, free: 10.66 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001406/0.4889, allocations: 0.9847 MB / 1.38 GB, free: 9.676 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.119e-05/0.489, allocations: 12.64 kB / 1.38 GB, free: 9.664 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.489, allocations: 35.22 kB / 1.38 GB, free: 9.621 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 3.357e-06/0.489, allocations: 0 / 1.38 GB, free: 9.621 MB / 1.076 GB Notification: Performance of matching and sorting (n=139): time 0.06834/0.5573, allocations: 18.88 MB / 1.399 GB, free: 6.715 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/0.5574, allocations: 68.72 kB / 1.399 GB, free: 6.633 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/0.5588, allocations: 0.9261 MB / 1.4 GB, free: 5.691 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002179/0.559, allocations: 49.7 kB / 1.4 GB, free: 5.637 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005986/0.5596, allocations: 0.7501 MB / 1.4 GB, free: 4.875 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005165/0.5601, allocations: 0.4996 MB / 1.401 GB, free: 4.371 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005739/0.5607, allocations: 295.5 kB / 1.401 GB, free: 4.078 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.5609, allocations: 353.9 kB / 1.402 GB, free: 3.727 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00198/0.5629, allocations: 1.343 MB / 1.403 GB, free: 2.383 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002221/0.5651, allocations: 1.655 MB / 1.404 GB, free: 0.6172 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004367/0.5695, allocations: 3.084 MB / 1.407 GB, free: 13.41 MB / 1.108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.5695, allocations: 4 kB / 1.407 GB, free: 13.41 MB / 1.108 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01216/0.5816, allocations: 5.551 MB / 1.413 GB, free: 7.832 MB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/0.5817, allocations: 15.92 kB / 1.413 GB, free: 7.816 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/0.5817, allocations: 12.59 kB / 1.413 GB, free: 7.805 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008693/0.5904, allocations: 2.719 MB / 1.416 GB, free: 5.074 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008794/0.5913, allocations: 191.7 kB / 1.416 GB, free: 4.887 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03933/0.6306, allocations: 25.34 MB / 1.441 GB, free: 11.08 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/0.6323, allocations: 95.95 kB / 1.441 GB, free: 10.99 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/0.6324, allocations: 52 kB / 1.441 GB, free: 10.94 MB / 1.139 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.001444/0.6339, allocations: 0.7359 MB / 1.441 GB, free: 10.19 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003042/0.6342, allocations: 127.2 kB / 1.441 GB, free: 10.07 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/0.6461, allocations: 5.318 MB / 1.447 GB, free: 4.711 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.546e-05/0.6462, allocations: 12 kB / 1.447 GB, free: 4.699 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.166e-05/0.6462, allocations: 20 kB / 1.447 GB, free: 4.68 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.913e-05/0.6462, allocations: 7.969 kB / 1.447 GB, free: 4.672 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01838/0.6646, allocations: 8.595 MB / 1.455 GB, free: 11.96 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.972e-05/0.6646, allocations: 4 kB / 1.455 GB, free: 11.96 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005056/0.6652, allocations: 119.8 kB / 1.455 GB, free: 11.84 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008468/0.6736, allocations: 2.596 MB / 1.458 GB, free: 9.238 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002035/0.6738, allocations: 31.94 kB / 1.458 GB, free: 9.207 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03585/0.7097, allocations: 23.77 MB / 1.481 GB, free: 0.9727 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-05/0.7097, allocations: 7.938 kB / 1.481 GB, free: 0.9648 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0112/0.7209, allocations: 5.175 MB / 1.486 GB, free: 11.7 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001431/0.7223, allocations: 423.1 kB / 1.486 GB, free: 11.29 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002611/0.7226, allocations: 31.95 kB / 1.487 GB, free: 11.26 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008833/0.7235, allocations: 79.89 kB / 1.487 GB, free: 11.18 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005349/0.724, allocations: 129 kB / 1.487 GB, free: 11.05 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/0.7241, allocations: 36 kB / 1.487 GB, free: 11.02 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0009153/0.725, allocations: 0.6473 MB / 1.487 GB, free: 10.37 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.725, allocations: 0 / 1.487 GB, free: 10.37 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002602/0.7276, allocations: 0.7188 MB / 1.488 GB, free: 9.648 MB / 1.186 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.000291/0.7279, allocations: 139.1 kB / 1.488 GB, free: 9.504 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.007442/0.7354, allocations: 4.09 MB / 1.492 GB, free: 5.367 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/0.7354, allocations: 4 kB / 1.492 GB, free: 5.363 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.005466/0.7408, allocations: 2.619 MB / 1.495 GB, free: 2.691 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.7423, allocations: 225.9 kB / 1.495 GB, free: 2.48 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007529/0.7498, allocations: 4.347 MB / 1.499 GB, free: 14.07 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001799/0.7516, allocations: 1.739 MB / 1.501 GB, free: 12.29 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003462/0.7519, allocations: 63.42 kB / 1.501 GB, free: 12.23 MB / 1.201 GB Notification: Performance of SimCode: time 1.182e-06/0.7519, allocations: 0 / 1.501 GB, free: 12.23 MB / 1.201 GB Notification: Performance of Templates: time 0.07624/0.8282, allocations: 60.06 MB / 1.56 GB, free: 160 kB / 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: 16.04363932699198]