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.001906/0.001906, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002658/0.002658, allocations: 216.7 kB / 22.25 MB, free: 4.855 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.632/1.632, allocations: 230.6 MB / 256 MB, free: 7.785 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.239/3.239, allocations: 0.4892 GB / 0.7943 GB, free: 35.47 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.00213/0.00213, allocations: 75 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3353, allocations: 176.1 MB / 1.326 GB, free: 1.828 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01326/0.3486, allocations: 9.656 MB / 1.335 GB, free: 8.137 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005888/0.3545, allocations: 3.018 MB / 1.338 GB, free: 5.109 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006917/0.3552, allocations: 47.69 kB / 1.338 GB, free: 5.062 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001963/0.3571, allocations: 0.6881 MB / 1.339 GB, free: 4.371 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001583/0.3587, allocations: 0.7351 MB / 1.339 GB, free: 3.633 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.3602, allocations: 0.6463 MB / 1.34 GB, free: 2.988 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003063/0.3632, allocations: 2.73 MB / 1.343 GB, free: 252 kB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002059/0.3653, allocations: 1.356 MB / 1.344 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.3672, allocations: 1.172 MB / 1.345 GB, free: 13.67 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002328/0.3695, allocations: 1.421 MB / 1.347 GB, free: 12.24 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0005428/0.3701, allocations: 220 kB / 1.347 GB, free: 12.03 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.3712, allocations: 463.3 kB / 1.347 GB, free: 11.57 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001027/0.3722, allocations: 1.013 MB / 1.348 GB, free: 10.56 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0009932/0.3732, allocations: 0.8288 MB / 1.349 GB, free: 9.727 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0035/0.3767, allocations: 3.434 MB / 1.352 GB, free: 6.281 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3767, allocations: 4 kB / 1.352 GB, free: 6.277 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3767, allocations: 3.938 kB / 1.352 GB, free: 6.273 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.55e-05/0.3767, allocations: 0 / 1.352 GB, free: 6.273 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.003873/0.3806, allocations: 1.91 MB / 1.354 GB, free: 4.324 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.3807, allocations: 8.031 kB / 1.354 GB, free: 4.316 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005942/0.3866, allocations: 0.9009 MB / 1.355 GB, free: 3.414 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002857/0.3895, allocations: 1.12 MB / 1.356 GB, free: 2.262 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.974e-05/0.3896, allocations: 111.3 kB / 1.356 GB, free: 2.152 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003621/0.3899, allocations: 144.3 kB / 1.356 GB, free: 2.012 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005107/0.395, allocations: 3.1 MB / 1.359 GB, free: 14.79 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.565e-05/0.3951, allocations: 7.953 kB / 1.359 GB, free: 14.79 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001857/0.3953, allocations: 59.97 kB / 1.359 GB, free: 14.73 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002252/0.3955, allocations: 175 kB / 1.36 GB, free: 14.55 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004248/0.3997, allocations: 2.604 MB / 1.362 GB, free: 11.95 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.01494/0.4147, allocations: 9.047 MB / 1.371 GB, free: 2.68 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00208/0.4167, allocations: 1.217 MB / 1.372 GB, free: 1.445 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001416/0.4182, allocations: 0.9799 MB / 1.373 GB, free: 476 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.106e-05/0.4182, allocations: 12.64 kB / 1.373 GB, free: 464 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.4183, allocations: 47.22 kB / 1.373 GB, free: 408 kB / 1.061 GB Notification: Performance of pre-optimization done (n=82): time 2.756e-06/0.4183, allocations: 0 / 1.373 GB, free: 408 kB / 1.061 GB Notification: Performance of matching and sorting (n=139): time 0.07939/0.4977, allocations: 18.88 MB / 1.392 GB, free: 13.49 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/0.4977, allocations: 64.72 kB / 1.392 GB, free: 13.41 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.4991, allocations: 0.9102 MB / 1.393 GB, free: 12.49 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002113/0.4993, allocations: 45.7 kB / 1.393 GB, free: 12.44 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006362/0.4999, allocations: 0.754 MB / 1.393 GB, free: 11.68 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005208/0.5005, allocations: 0.4996 MB / 1.394 GB, free: 11.17 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005838/0.501, allocations: 291.5 kB / 1.394 GB, free: 10.88 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.5012, allocations: 357.9 kB / 1.395 GB, free: 10.52 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002097/0.5033, allocations: 1.339 MB / 1.396 GB, free: 9.184 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002341/0.5057, allocations: 1.655 MB / 1.397 GB, free: 7.418 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004605/0.5103, allocations: 3.092 MB / 1.4 GB, free: 4.207 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.5103, allocations: 4 kB / 1.4 GB, free: 4.203 MB / 1.092 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01296/0.5232, allocations: 5.557 MB / 1.406 GB, free: 14.62 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.036e-05/0.5233, allocations: 11.94 kB / 1.406 GB, free: 14.61 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/0.5233, allocations: 8 kB / 1.406 GB, free: 14.6 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009408/0.5327, allocations: 2.71 MB / 1.409 GB, free: 11.88 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000842/0.5335, allocations: 187.7 kB / 1.409 GB, free: 11.7 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03945/0.573, allocations: 24.84 MB / 1.433 GB, free: 2.434 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.5746, allocations: 95.94 kB / 1.433 GB, free: 2.34 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/0.5747, allocations: 59.94 kB / 1.433 GB, free: 2.281 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.00126/0.576, allocations: 0.7398 MB / 1.434 GB, free: 1.531 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000267/0.5763, allocations: 115.3 kB / 1.434 GB, free: 1.418 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/0.5884, allocations: 5.306 MB / 1.439 GB, free: 12.08 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.501e-05/0.5884, allocations: 15.94 kB / 1.439 GB, free: 12.06 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.107e-05/0.5885, allocations: 20 kB / 1.439 GB, free: 12.04 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.37e-05/0.5885, allocations: 3.984 kB / 1.439 GB, free: 12.04 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.018/0.6065, allocations: 7.971 MB / 1.447 GB, free: 3.965 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.768e-05/0.6065, allocations: 4 kB / 1.447 GB, free: 3.961 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005214/0.607, allocations: 119.8 kB / 1.447 GB, free: 3.844 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009166/0.6162, allocations: 2.589 MB / 1.45 GB, free: 1.246 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002043/0.6164, allocations: 28 kB / 1.45 GB, free: 1.219 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03813/0.6545, allocations: 23.32 MB / 1.472 GB, free: 9.484 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.131e-05/0.6545, allocations: 8.125 kB / 1.472 GB, free: 9.477 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01187/0.6664, allocations: 5.167 MB / 1.477 GB, free: 4.227 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001503/0.6679, allocations: 431 kB / 1.478 GB, free: 3.805 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002784/0.6682, allocations: 27.98 kB / 1.478 GB, free: 3.777 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.6692, allocations: 80.28 kB / 1.478 GB, free: 3.699 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006119/0.6698, allocations: 125 kB / 1.478 GB, free: 3.574 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/0.6699, allocations: 39.98 kB / 1.478 GB, free: 3.535 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0009449/0.6709, allocations: 0.62 MB / 1.479 GB, free: 2.918 MB / 1.17 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6709, allocations: 0 / 1.479 GB, free: 2.918 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002633/0.6735, allocations: 0.7227 MB / 1.479 GB, free: 2.195 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.0002912/0.6738, allocations: 141.3 kB / 1.48 GB, free: 2.051 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.008203/0.682, allocations: 4.093 MB / 1.484 GB, free: 13.91 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/0.682, allocations: 0 / 1.484 GB, free: 13.91 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.006091/0.6881, allocations: 2.607 MB / 1.486 GB, free: 11.25 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/0.6896, allocations: 218.6 kB / 1.486 GB, free: 11.04 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007716/0.6973, allocations: 4.084 MB / 1.49 GB, free: 6.898 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001595/0.6989, allocations: 1.109 MB / 1.491 GB, free: 5.754 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009001/0.6998, allocations: 321.2 kB / 1.492 GB, free: 5.438 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.7, allocations: 55.44 kB / 1.492 GB, free: 5.383 MB / 1.186 GB Notification: Performance of SimCode: time 7.52e-07/0.7, allocations: 0 / 1.492 GB, free: 5.383 MB / 1.186 GB Notification: Performance of Templates: time 0.06921/0.7692, allocations: 43.7 MB / 1.534 GB, free: 9.938 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 -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/jenkins/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.240649834275246]