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.001742/0.001742, 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.002007/0.002007, allocations: 213 kB / 22.99 MB, free: 4.98 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.272/3.272, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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.002994/0.002994, allocations: 72.89 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3944, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01394/0.4083, allocations: 9.657 MB / 1.337 GB, free: 7.293 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005942/0.4143, allocations: 3.029 MB / 1.339 GB, free: 4.254 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005273/0.4148, allocations: 47.69 kB / 1.34 GB, free: 4.207 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001956/0.4168, allocations: 0.6842 MB / 1.34 GB, free: 3.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001619/0.4184, allocations: 0.7274 MB / 1.341 GB, free: 2.789 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.4198, allocations: 0.642 MB / 1.342 GB, free: 2.148 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002947/0.4228, allocations: 2.738 MB / 1.344 GB, free: 15.4 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001918/0.4247, allocations: 1.375 MB / 1.346 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001724/0.4264, allocations: 1.165 MB / 1.347 GB, free: 12.81 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001972/0.4284, allocations: 1.492 MB / 1.348 GB, free: 11.31 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003232/0.4287, allocations: 220 kB / 1.348 GB, free: 11.1 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009559/0.4296, allocations: 463.4 kB / 1.349 GB, free: 10.64 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.4306, allocations: 1.013 MB / 1.35 GB, free: 9.629 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0009435/0.4316, allocations: 0.8288 MB / 1.351 GB, free: 8.797 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003656/0.4352, allocations: 3.434 MB / 1.354 GB, free: 5.352 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4353, allocations: 8 kB / 1.354 GB, free: 5.344 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4353, allocations: 0 / 1.354 GB, free: 5.344 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.833e-05/0.4353, allocations: 3.938 kB / 1.354 GB, free: 5.34 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.003698/0.439, allocations: 1.909 MB / 1.356 GB, free: 3.391 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.439, allocations: 8.031 kB / 1.356 GB, free: 3.383 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005826/0.4449, allocations: 0.8931 MB / 1.357 GB, free: 2.488 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002752/0.4476, allocations: 1.124 MB / 1.358 GB, free: 1.332 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.4477, allocations: 115.3 kB / 1.358 GB, free: 1.219 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002997/0.448, allocations: 144.4 kB / 1.358 GB, free: 1.078 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004923/0.4529, allocations: 3.096 MB / 1.361 GB, free: 13.86 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.553e-05/0.453, allocations: 11.89 kB / 1.361 GB, free: 13.85 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001947/0.4532, allocations: 59.98 kB / 1.361 GB, free: 13.79 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002308/0.4534, allocations: 179 kB / 1.361 GB, free: 13.62 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004188/0.4576, allocations: 2.6 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.01507/0.4727, allocations: 9.036 MB / 1.373 GB, free: 1.758 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002046/0.4747, allocations: 1.209 MB / 1.374 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/0.4761, allocations: 0.9877 MB / 1.375 GB, free: 15.54 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.487e-05/0.4762, allocations: 8.656 kB / 1.375 GB, free: 15.53 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.4762, allocations: 39.22 kB / 1.375 GB, free: 15.48 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 2.866e-06/0.4762, allocations: 0 / 1.375 GB, free: 15.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=139): time 0.0725/0.5487, allocations: 18.89 MB / 1.393 GB, free: 12.57 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.852e-05/0.5488, allocations: 64.72 kB / 1.393 GB, free: 12.49 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.5501, allocations: 0.9141 MB / 1.394 GB, free: 11.56 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001534/0.5503, allocations: 45.7 kB / 1.394 GB, free: 11.51 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005569/0.5508, allocations: 0.7462 MB / 1.395 GB, free: 10.76 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005095/0.5513, allocations: 0.4996 MB / 1.396 GB, free: 10.25 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006258/0.5519, allocations: 295.5 kB / 1.396 GB, free: 9.957 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.5521, allocations: 349.9 kB / 1.396 GB, free: 9.609 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001989/0.5541, allocations: 1.339 MB / 1.397 GB, free: 8.27 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002208/0.5563, allocations: 1.655 MB / 1.399 GB, free: 6.504 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004284/0.5606, allocations: 3.096 MB / 1.402 GB, free: 3.289 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.5606, allocations: 7.938 kB / 1.402 GB, free: 3.281 MB / 1.092 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01218/0.5728, allocations: 5.553 MB / 1.408 GB, free: 13.7 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.5728, allocations: 8.656 kB / 1.408 GB, free: 13.69 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/0.5729, allocations: 8 kB / 1.408 GB, free: 13.68 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009429/0.5823, allocations: 2.721 MB / 1.41 GB, free: 10.95 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008647/0.5832, allocations: 191.6 kB / 1.41 GB, free: 10.76 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03799/0.6211, allocations: 24.85 MB / 1.435 GB, free: 1.504 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.6227, allocations: 91.95 kB / 1.435 GB, free: 1.414 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/0.6229, allocations: 60.06 kB / 1.435 GB, free: 1.355 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.001276/0.6241, allocations: 0.7376 MB / 1.435 GB, free: 0.6094 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002498/0.6244, allocations: 123.3 kB / 1.436 GB, free: 500 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01245/0.6368, allocations: 5.31 MB / 1.441 GB, free: 11.14 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/0.6369, allocations: 15.94 kB / 1.441 GB, free: 11.13 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.079e-05/0.6369, allocations: 20 kB / 1.441 GB, free: 11.11 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.571e-05/0.6369, allocations: 7.969 kB / 1.441 GB, free: 11.1 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01716/0.6541, allocations: 7.956 MB / 1.449 GB, free: 3.043 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.6541, allocations: 4.469 kB / 1.449 GB, free: 3.039 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004993/0.6546, allocations: 123.8 kB / 1.449 GB, free: 2.918 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009083/0.6637, allocations: 2.585 MB / 1.451 GB, free: 328 kB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001597/0.6638, allocations: 32 kB / 1.451 GB, free: 296 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03607/0.6999, allocations: 23.31 MB / 1.474 GB, free: 8.562 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.6999, allocations: 4 kB / 1.474 GB, free: 8.559 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01148/0.7114, allocations: 5.179 MB / 1.479 GB, free: 3.297 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001425/0.7128, allocations: 419.1 kB / 1.48 GB, free: 2.887 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002264/0.713, allocations: 28 kB / 1.48 GB, free: 2.859 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008891/0.7139, allocations: 75.91 kB / 1.48 GB, free: 2.785 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005769/0.7145, allocations: 132.9 kB / 1.48 GB, free: 2.652 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.7146, allocations: 40 kB / 1.48 GB, free: 2.613 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0008517/0.7155, allocations: 0.62 MB / 1.48 GB, free: 1.996 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.7155, allocations: 0 / 1.48 GB, free: 1.996 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002398/0.7179, 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.0002812/0.7182, allocations: 143 kB / 1.481 GB, free: 1.125 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.007416/0.7256, allocations: 4.082 MB / 1.485 GB, free: 12.99 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.7256, allocations: 0 / 1.485 GB, free: 12.99 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.005365/0.7309, allocations: 2.607 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.001445/0.7324, allocations: 222.8 kB / 1.488 GB, free: 10.12 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006943/0.7393, allocations: 4.075 MB / 1.492 GB, free: 5.984 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001525/0.7409, allocations: 1.109 MB / 1.493 GB, free: 4.84 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0007577/0.7416, allocations: 329.2 kB / 1.493 GB, free: 4.516 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.7418, allocations: 59.44 kB / 1.493 GB, free: 4.457 MB / 1.186 GB Notification: Performance of SimCode: time 1.182e-06/0.7418, allocations: 0 / 1.493 GB, free: 4.457 MB / 1.186 GB Notification: Performance of Templates: time 0.0671/0.8089, allocations: 44.35 MB / 1.537 GB, free: 8.359 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 gbode -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: 10.070866973997909]