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.001329/0.001329, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001461/0.001461, allocations: 211.8 kB / 23 MB, free: 4.934 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.495/1.495, 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.259/3.259, allocations: 0.49 GB / 0.7959 GB, free: 35.33 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.002935/0.002935, allocations: 63.39 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4141, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01336/0.4274, allocations: 9.659 MB / 1.337 GB, free: 7.336 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005834/0.4333, allocations: 3.025 MB / 1.339 GB, free: 4.301 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007067/0.434, allocations: 47.69 kB / 1.34 GB, free: 4.254 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002072/0.436, allocations: 0.691 MB / 1.34 GB, free: 3.562 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001765/0.4378, allocations: 0.7273 MB / 1.341 GB, free: 2.832 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.4394, allocations: 0.6316 MB / 1.342 GB, free: 2.199 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003372/0.4428, allocations: 2.734 MB / 1.344 GB, free: 15.45 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002103/0.4449, allocations: 1.375 MB / 1.346 GB, free: 14.03 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002018/0.4469, allocations: 1.176 MB / 1.347 GB, free: 12.85 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002257/0.4491, allocations: 1.492 MB / 1.348 GB, free: 11.36 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003814/0.4495, allocations: 216 kB / 1.348 GB, free: 11.14 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.4505, allocations: 467.3 kB / 1.349 GB, free: 10.69 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001165/0.4517, allocations: 1.017 MB / 1.35 GB, free: 9.668 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.4528, allocations: 0.821 MB / 1.351 GB, free: 8.844 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004347/0.4572, allocations: 3.438 MB / 1.354 GB, free: 5.395 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.4572, allocations: 0 / 1.354 GB, free: 5.395 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4572, allocations: 0 / 1.354 GB, free: 5.395 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.06e-05/0.4573, allocations: 0 / 1.354 GB, free: 5.395 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.004279/0.4615, allocations: 1.913 MB / 1.356 GB, free: 3.441 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.4616, allocations: 12.03 kB / 1.356 GB, free: 3.43 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006025/0.4676, allocations: 0.897 MB / 1.357 GB, free: 2.531 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003886/0.4715, allocations: 1.124 MB / 1.358 GB, free: 1.375 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.4716, allocations: 107.3 kB / 1.358 GB, free: 1.27 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006627/0.4723, allocations: 144.3 kB / 1.358 GB, free: 1.129 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005751/0.4781, allocations: 3.096 MB / 1.361 GB, free: 13.91 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.307e-05/0.4781, allocations: 11.95 kB / 1.361 GB, free: 13.9 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001965/0.4783, allocations: 63.97 kB / 1.361 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002587/0.4786, allocations: 175 kB / 1.361 GB, free: 13.67 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004453/0.483, allocations: 2.604 MB / 1.364 GB, free: 11.06 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.0162/0.4992, allocations: 9.036 MB / 1.373 GB, free: 1.805 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00213/0.5013, allocations: 1.223 MB / 1.374 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001486/0.5028, allocations: 0.976 MB / 1.375 GB, free: 15.59 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.127e-05/0.5029, allocations: 12.66 kB / 1.375 GB, free: 15.58 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/0.5029, allocations: 39.22 kB / 1.375 GB, free: 15.53 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 4.939e-06/0.503, allocations: 0 / 1.375 GB, free: 15.53 MB / 1.076 GB Notification: Performance of matching and sorting (n=139): time 0.0734/0.5763, allocations: 18.88 MB / 1.393 GB, free: 12.62 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.5764, allocations: 68.72 kB / 1.393 GB, free: 12.54 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.578, allocations: 0.9063 MB / 1.394 GB, free: 11.62 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002386/0.5782, allocations: 45.7 kB / 1.394 GB, free: 11.57 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008609/0.5791, allocations: 0.7501 MB / 1.395 GB, free: 10.8 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007082/0.5798, allocations: 0.5035 MB / 1.396 GB, free: 10.3 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007293/0.5805, allocations: 295.5 kB / 1.396 GB, free: 10 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002238/0.5807, allocations: 361.9 kB / 1.396 GB, free: 9.641 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002095/0.5828, allocations: 1.331 MB / 1.397 GB, free: 8.309 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002547/0.5854, allocations: 1.659 MB / 1.399 GB, free: 6.539 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00484/0.5902, allocations: 3.082 MB / 1.402 GB, free: 3.336 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/0.5902, allocations: 4 kB / 1.402 GB, free: 3.332 MB / 1.092 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01281/0.603, allocations: 5.557 MB / 1.408 GB, free: 13.75 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.078e-05/0.6031, allocations: 8 kB / 1.408 GB, free: 13.74 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/0.6031, allocations: 15.88 kB / 1.408 GB, free: 13.73 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00954/0.6126, allocations: 2.71 MB / 1.41 GB, free: 11 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008604/0.6135, allocations: 195.6 kB / 1.41 GB, free: 10.81 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04136/0.6549, allocations: 24.84 MB / 1.435 GB, free: 1.559 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.6563, allocations: 99.94 kB / 1.435 GB, free: 1.461 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/0.6564, allocations: 52 kB / 1.435 GB, free: 1.41 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.001332/0.6578, allocations: 0.7454 MB / 1.436 GB, free: 0.6562 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002953/0.658, allocations: 115.8 kB / 1.436 GB, free: 0.543 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01234/0.6704, allocations: 5.306 MB / 1.441 GB, free: 11.2 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.261e-05/0.6704, allocations: 11.91 kB / 1.441 GB, free: 11.19 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.6704, allocations: 0 / 1.441 GB, free: 11.19 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/0.6717, allocations: 423.1 kB / 1.441 GB, free: 10.78 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/0.672, allocations: 28 kB / 1.441 GB, free: 10.75 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000821/0.6728, allocations: 71.91 kB / 1.441 GB, free: 10.68 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004967/0.6733, allocations: 212.8 kB / 1.442 GB, free: 10.47 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01205/0.6853, allocations: 5.245 MB / 1.447 GB, free: 5.211 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006544/0.6919, allocations: 4.491 MB / 1.451 GB, free: 0.7031 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00206/0.6939, allocations: 1.411 MB / 1.452 GB, free: 15.29 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0009147/0.6949, allocations: 0.62 MB / 1.453 GB, free: 14.66 MB / 1.154 GB Notification: Performance of Backend: time 5.21e-07/0.6949, allocations: 0 / 1.453 GB, free: 14.66 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.006927/0.7018, allocations: 3.106 MB / 1.456 GB, free: 11.5 MB / 1.154 GB Notification: Performance of SimCode: time 0.006871/0.7086, allocations: 4.477 MB / 1.46 GB, free: 6.992 MB / 1.154 GB Notification: Performance of Templates: time 0.06353/0.7722, allocations: 41.92 MB / 1.501 GB, free: 13.35 MB / 1.201 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: 9.995098844003223]