Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001918/0.001918, allocations: 104.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.002513/0.002513, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.762/1.762, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.394/3.394, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002208/0.002208, allocations: 73.39 kB / 1.187 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3938, allocations: 181.9 MB / 1.365 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01379/0.4076, allocations: 9.658 MB / 1.374 GB, free: 3.875 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006092/0.4137, allocations: 3.022 MB / 1.377 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007448/0.4144, allocations: 47.62 kB / 1.377 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002165/0.4166, allocations: 0.6984 MB / 1.378 GB, free: 100 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001994/0.4186, allocations: 0.7197 MB / 1.378 GB, free: 15.37 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.4203, allocations: 0.6466 MB / 1.379 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004008/0.4243, allocations: 2.734 MB / 1.382 GB, free: 11.99 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002323/0.4266, allocations: 1.368 MB / 1.383 GB, free: 10.57 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002271/0.4289, allocations: 1.165 MB / 1.384 GB, free: 9.406 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002582/0.4314, allocations: 1.433 MB / 1.386 GB, free: 7.969 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000383/0.4318, allocations: 216 kB / 1.386 GB, free: 7.758 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.4329, allocations: 459.4 kB / 1.386 GB, free: 7.309 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001176/0.4341, allocations: 1.009 MB / 1.387 GB, free: 6.297 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001143/0.4352, allocations: 0.8288 MB / 1.388 GB, free: 5.465 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003926/0.4392, allocations: 3.442 MB / 1.391 GB, free: 2.012 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4392, allocations: 0 / 1.391 GB, free: 2.012 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4392, allocations: 0 / 1.391 GB, free: 2.012 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.689e-05/0.4392, allocations: 0 / 1.391 GB, free: 2.012 MB / 1.076 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.00406/0.4433, allocations: 1.909 MB / 1.393 GB, free: 64 kB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.4433, allocations: 12.03 kB / 1.393 GB, free: 52 kB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00597/0.4493, allocations: 0.8966 MB / 1.394 GB, free: 15.15 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003309/0.4526, allocations: 1.124 MB / 1.395 GB, free: 14 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.4527, allocations: 107.3 kB / 1.395 GB, free: 13.89 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004396/0.4532, allocations: 144.3 kB / 1.395 GB, free: 13.75 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005949/0.4591, allocations: 3.101 MB / 1.399 GB, free: 10.54 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.99e-05/0.4592, allocations: 3.938 kB / 1.399 GB, free: 10.53 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001994/0.4594, allocations: 75.91 kB / 1.399 GB, free: 10.46 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002557/0.4596, allocations: 175 kB / 1.399 GB, free: 10.29 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004807/0.4644, allocations: 2.596 MB / 1.401 GB, free: 7.684 MB / 1.092 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.01601/0.4804, allocations: 9.039 MB / 1.41 GB, free: 14.43 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002156/0.4826, allocations: 1.217 MB / 1.411 GB, free: 13.19 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001524/0.4841, allocations: 0.9762 MB / 1.412 GB, free: 12.21 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 6.3e-05/0.4842, allocations: 12.59 kB / 1.412 GB, free: 12.2 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.4842, allocations: 39.22 kB / 1.412 GB, free: 12.16 MB / 1.107 GB Notification: Performance of pre-optimization done (n=82): time 3.637e-06/0.4842, allocations: 0 / 1.412 GB, free: 12.16 MB / 1.107 GB Notification: Performance of matching and sorting (n=139): time 0.078/0.5622, allocations: 18.88 MB / 1.431 GB, free: 9.25 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/0.5623, allocations: 68.72 kB / 1.431 GB, free: 9.168 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.5637, allocations: 0.9103 MB / 1.432 GB, free: 8.25 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002425/0.5639, allocations: 49.7 kB / 1.432 GB, free: 8.195 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005826/0.5645, allocations: 0.7462 MB / 1.432 GB, free: 7.438 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005567/0.5651, allocations: 0.5035 MB / 1.433 GB, free: 6.93 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005881/0.5656, allocations: 291.5 kB / 1.433 GB, free: 6.637 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.5658, allocations: 357.9 kB / 1.434 GB, free: 6.281 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002083/0.5679, allocations: 1.335 MB / 1.435 GB, free: 4.945 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002358/0.5703, allocations: 1.655 MB / 1.437 GB, free: 3.176 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004463/0.5747, allocations: 3.088 MB / 1.44 GB, free: 15.97 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.5747, allocations: 0 / 1.44 GB, free: 15.97 MB / 1.139 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01251/0.5873, allocations: 5.57 MB / 1.445 GB, free: 10.37 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.695e-05/0.5873, allocations: 8 kB / 1.445 GB, free: 10.36 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.102e-05/0.5873, allocations: 12 kB / 1.445 GB, free: 10.35 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009207/0.5965, allocations: 2.705 MB / 1.448 GB, free: 7.637 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008808/0.5974, allocations: 191.6 kB / 1.448 GB, free: 7.449 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03931/0.6367, allocations: 24.84 MB / 1.472 GB, free: 14.2 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.6384, allocations: 100.1 kB / 1.472 GB, free: 14.1 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/0.6385, allocations: 63.98 kB / 1.472 GB, free: 14.04 MB / 1.17 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.00131/0.6399, allocations: 0.7391 MB / 1.473 GB, free: 13.29 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002818/0.6401, allocations: 115.3 kB / 1.473 GB, free: 13.18 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01199/0.6521, allocations: 5.31 MB / 1.478 GB, free: 7.832 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-05/0.6521, allocations: 16 kB / 1.478 GB, free: 7.816 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-05/0.6522, allocations: 27.88 kB / 1.478 GB, free: 7.789 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.927e-05/0.6522, allocations: 7.969 kB / 1.478 GB, free: 7.781 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01745/0.6697, allocations: 7.948 MB / 1.486 GB, free: 15.73 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.201e-05/0.6697, allocations: 4 kB / 1.486 GB, free: 15.72 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005336/0.6702, allocations: 123.8 kB / 1.486 GB, free: 15.6 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008939/0.6792, allocations: 2.588 MB / 1.489 GB, free: 13 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000217/0.6794, allocations: 31.94 kB / 1.489 GB, free: 12.97 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03696/0.7163, allocations: 23.33 MB / 1.512 GB, free: 5.227 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.7163, allocations: 4 kB / 1.512 GB, free: 5.223 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01148/0.7278, allocations: 5.175 MB / 1.517 GB, free: 15.97 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/0.7292, allocations: 423.1 kB / 1.517 GB, free: 15.55 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002406/0.7295, allocations: 28 kB / 1.517 GB, free: 15.53 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000956/0.7304, allocations: 75.89 kB / 1.517 GB, free: 15.45 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005683/0.731, allocations: 136.8 kB / 1.517 GB, free: 15.32 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.7311, allocations: 32 kB / 1.517 GB, free: 15.29 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0009037/0.732, allocations: 0.6317 MB / 1.518 GB, free: 14.66 MB / 1.217 GB Notification: Performance of sort global known variables: time 9.1e-08/0.732, allocations: 0 / 1.518 GB, free: 14.66 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002578/0.7346, allocations: 0.7188 MB / 1.519 GB, free: 13.94 MB / 1.217 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.0002946/0.7349, allocations: 135.1 kB / 1.519 GB, free: 13.8 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007582/0.7425, allocations: 4.096 MB / 1.523 GB, free: 9.652 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.7425, allocations: 0 / 1.523 GB, free: 9.652 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.005527/0.748, allocations: 2.622 MB / 1.525 GB, free: 6.977 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/0.7494, allocations: 221.2 kB / 1.525 GB, free: 6.77 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007266/0.7567, allocations: 4.33 MB / 1.53 GB, free: 2.367 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001534/0.7582, allocations: 1.144 MB / 1.531 GB, free: 1.188 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003012/0.7585, allocations: 71.41 kB / 1.531 GB, free: 1.117 MB / 1.217 GB Notification: Performance of SimCode: time 1.072e-06/0.7585, allocations: 0 / 1.531 GB, free: 1.117 MB / 1.217 GB Notification: Performance of Templates: time 0.0733/0.8318, allocations: 60.59 MB / 1.59 GB, free: 4.516 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.757809597067535]