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.001889/0.001889, allocations: 105.4 kB / 16.45 MB, free: 6.453 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.002484/0.002484, allocations: 213.7 kB / 19.43 MB, free: 3.625 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 / 252.8 MB, free: 8.945 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.332/3.332, allocations: 0.4899 GB / 0.7915 GB, free: 33.46 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.002141/0.002141, allocations: 68.34 kB / 1.149 GB, free: 26.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3605, allocations: 176.1 MB / 1.321 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.0153/0.3758, allocations: 10.18 MB / 1.331 GB, free: 8.59 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006324/0.3821, allocations: 3.103 MB / 1.334 GB, free: 5.477 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008283/0.383, allocations: 43.69 kB / 1.334 GB, free: 5.434 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002108/0.3851, allocations: 0.7036 MB / 1.335 GB, free: 4.727 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001854/0.3869, allocations: 0.7196 MB / 1.336 GB, free: 4.004 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.3885, allocations: 0.6455 MB / 1.336 GB, free: 3.359 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003658/0.3921, allocations: 2.73 MB / 1.339 GB, free: 0.6211 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003352/0.3955, allocations: 1.902 MB / 1.341 GB, free: 14.68 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00216/0.3977, allocations: 1.165 MB / 1.342 GB, free: 13.51 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002735/0.4004, allocations: 1.488 MB / 1.343 GB, free: 12.02 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0007587/0.4011, allocations: 216 kB / 1.344 GB, free: 11.8 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001714/0.4029, allocations: 499.3 kB / 1.344 GB, free: 11.32 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001739/0.4046, allocations: 1.009 MB / 1.345 GB, free: 10.3 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001553/0.4062, allocations: 1.011 MB / 1.346 GB, free: 9.289 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004357/0.4105, allocations: 3.419 MB / 1.349 GB, free: 5.859 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4105, allocations: 0 / 1.349 GB, free: 5.859 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4105, allocations: 0 / 1.349 GB, free: 5.859 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.79e-05/0.4106, allocations: 3.938 kB / 1.349 GB, free: 5.855 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.004494/0.4151, allocations: 1.98 MB / 1.351 GB, free: 3.816 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.4151, allocations: 15.97 kB / 1.351 GB, free: 3.801 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006185/0.4213, allocations: 0.9009 MB / 1.352 GB, free: 2.898 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00238/0.4237, allocations: 1.169 MB / 1.353 GB, free: 1.688 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.4238, allocations: 111.3 kB / 1.353 GB, free: 1.578 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003556/0.4242, allocations: 144.3 kB / 1.354 GB, free: 1.438 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005299/0.4295, allocations: 3.025 MB / 1.357 GB, free: 14.31 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.532e-05/0.4295, allocations: 7.891 kB / 1.357 GB, free: 14.3 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002011/0.4297, allocations: 63.97 kB / 1.357 GB, free: 14.24 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002415/0.4299, allocations: 175 kB / 1.357 GB, free: 14.07 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004459/0.4344, allocations: 2.608 MB / 1.359 GB, free: 11.46 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.01854/0.4529, allocations: 13.51 MB / 1.373 GB, free: 12.85 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002131/0.4551, allocations: 1.221 MB / 1.374 GB, free: 11.62 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/0.4565, allocations: 0.9762 MB / 1.375 GB, free: 10.64 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.197e-05/0.4566, allocations: 12.59 kB / 1.375 GB, free: 10.62 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.4566, allocations: 43.22 kB / 1.375 GB, free: 10.57 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 2.555e-06/0.4566, allocations: 0 / 1.375 GB, free: 10.57 MB / 1.076 GB Notification: Performance of matching and sorting (n=139): time 0.08304/0.5397, allocations: 19.33 MB / 1.394 GB, free: 7.102 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/0.5397, allocations: 72.7 kB / 1.394 GB, free: 7.016 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/0.5414, allocations: 0.9183 MB / 1.395 GB, free: 6.082 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001872/0.5415, allocations: 53.7 kB / 1.395 GB, free: 6.023 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006425/0.5422, allocations: 0.7501 MB / 1.395 GB, free: 5.262 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005833/0.5428, allocations: 0.5035 MB / 1.396 GB, free: 4.754 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006859/0.5435, allocations: 291.5 kB / 1.396 GB, free: 4.465 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.5436, allocations: 353.9 kB / 1.396 GB, free: 4.113 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002315/0.546, allocations: 1.335 MB / 1.398 GB, free: 2.777 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00257/0.5485, allocations: 1.659 MB / 1.399 GB, free: 1.008 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004993/0.5535, allocations: 3.088 MB / 1.402 GB, free: 13.8 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.5535, allocations: 0 / 1.402 GB, free: 13.8 MB / 1.107 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01314/0.5667, allocations: 5.567 MB / 1.408 GB, free: 8.207 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.5667, allocations: 12 kB / 1.408 GB, free: 8.195 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.318e-05/0.5667, allocations: 11.94 kB / 1.408 GB, free: 8.184 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009841/0.5766, allocations: 2.708 MB / 1.411 GB, free: 5.465 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008758/0.5774, allocations: 195.6 kB / 1.411 GB, free: 5.273 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04181/0.6193, allocations: 25.72 MB / 1.436 GB, free: 10.99 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/0.6209, allocations: 95.95 kB / 1.436 GB, free: 10.9 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002848/0.6212, allocations: 52 kB / 1.436 GB, free: 10.85 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.001595/0.6228, allocations: 0.7393 MB / 1.437 GB, free: 10.1 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004971/0.6233, allocations: 119.2 kB / 1.437 GB, free: 9.98 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/0.6366, allocations: 5.314 MB / 1.442 GB, free: 4.629 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/0.6366, allocations: 16 kB / 1.442 GB, free: 4.613 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.049e-05/0.6367, allocations: 19.94 kB / 1.442 GB, free: 4.594 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.924e-05/0.6367, allocations: 7.969 kB / 1.442 GB, free: 4.586 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01906/0.6558, allocations: 8.615 MB / 1.45 GB, free: 11.85 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.187e-05/0.6558, allocations: 4 kB / 1.45 GB, free: 11.84 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005677/0.6564, allocations: 116.2 kB / 1.451 GB, free: 11.73 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009524/0.6659, allocations: 2.592 MB / 1.453 GB, free: 9.129 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000177/0.6661, allocations: 28 kB / 1.453 GB, free: 9.102 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0381/0.7042, allocations: 24.19 MB / 1.477 GB, free: 356 kB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.341e-06/0.7042, allocations: 4 kB / 1.477 GB, free: 352 kB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0118/0.716, allocations: 5.175 MB / 1.482 GB, free: 11.09 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/0.7171, allocations: 496.2 kB / 1.482 GB, free: 10.59 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003297/0.7175, allocations: 27.98 kB / 1.482 GB, free: 10.56 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.7185, allocations: 79.91 kB / 1.482 GB, free: 10.48 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000616/0.7192, allocations: 125 kB / 1.482 GB, free: 10.36 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/0.7193, allocations: 36 kB / 1.483 GB, free: 10.32 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001066/0.7203, allocations: 0.6434 MB / 1.483 GB, free: 9.676 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.7203, allocations: 192 / 1.483 GB, free: 9.676 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002567/0.7229, allocations: 0.7188 MB / 1.484 GB, free: 8.957 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.0002846/0.7232, allocations: 150.9 kB / 1.484 GB, free: 8.801 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.007561/0.7308, allocations: 4.074 MB / 1.488 GB, free: 4.676 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.7308, allocations: 4.5 kB / 1.488 GB, free: 4.672 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.005653/0.7364, allocations: 2.615 MB / 1.491 GB, free: 2.008 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/0.7379, allocations: 225.3 kB / 1.491 GB, free: 1.797 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007444/0.7454, allocations: 4.031 MB / 1.495 GB, free: 13.71 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001985/0.7473, allocations: 1.696 MB / 1.496 GB, free: 11.98 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008068/0.7482, allocations: 325.5 kB / 1.497 GB, free: 11.66 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.7484, allocations: 55.44 kB / 1.497 GB, free: 11.6 MB / 1.201 GB Notification: Performance of SimCode: time 8.22e-07/0.7484, allocations: 4 kB / 1.497 GB, free: 11.6 MB / 1.201 GB Notification: Performance of Templates: time 0.06639/0.8148, allocations: 40.75 MB / 1.537 GB, free: 3.004 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: 9.882473424077034]