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.001404/0.001404, allocations: 109.1 kB / 18.99 MB, free: 2.609 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.001503/0.001503, allocations: 217.1 kB / 22.3 MB, free: 5.281 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.446/1.446, allocations: 230.6 MB / 256.1 MB, free: 7.73 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.321/3.321, allocations: 0.5108 GB / 0.8159 GB, free: 17.75 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.002152/0.002152, allocations: 64.47 kB / 1.186 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3492, allocations: 181.9 MB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01418/0.3633, allocations: 9.664 MB / 1.373 GB, free: 3.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006382/0.3697, allocations: 3.022 MB / 1.376 GB, free: 0.7188 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009592/0.3707, allocations: 51.56 kB / 1.376 GB, free: 0.668 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002289/0.373, allocations: 0.6978 MB / 1.377 GB, free: 15.96 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002077/0.3751, allocations: 0.7233 MB / 1.378 GB, free: 15.24 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.3768, allocations: 0.6394 MB / 1.378 GB, free: 14.6 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003585/0.3803, allocations: 2.734 MB / 1.381 GB, free: 11.86 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002416/0.3828, allocations: 1.368 MB / 1.382 GB, free: 10.45 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002069/0.3848, allocations: 1.161 MB / 1.384 GB, free: 9.281 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002672/0.3875, allocations: 1.429 MB / 1.385 GB, free: 7.848 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0006663/0.3882, allocations: 220 kB / 1.385 GB, free: 7.633 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.3896, allocations: 459.4 kB / 1.386 GB, free: 7.184 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001651/0.3912, allocations: 1.009 MB / 1.387 GB, free: 6.172 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001955/0.3932, allocations: 0.8327 MB / 1.387 GB, free: 5.336 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004832/0.398, allocations: 3.438 MB / 1.391 GB, free: 1.887 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.398, allocations: 0 / 1.391 GB, free: 1.887 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.994e-06/0.398, allocations: 0 / 1.391 GB, free: 1.887 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001174/0.3982, allocations: 0 / 1.391 GB, free: 1.887 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.005636/0.4038, allocations: 1.911 MB / 1.393 GB, free: 15.94 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.4038, allocations: 8.031 kB / 1.393 GB, free: 15.93 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006484/0.4103, allocations: 0.9243 MB / 1.394 GB, free: 15 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002612/0.4129, allocations: 1.124 MB / 1.395 GB, free: 13.85 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.413, allocations: 107.3 kB / 1.395 GB, free: 13.75 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005268/0.4136, allocations: 144.3 kB / 1.395 GB, free: 13.61 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006164/0.4197, allocations: 3.097 MB / 1.398 GB, free: 10.39 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.993e-05/0.4198, allocations: 0 / 1.398 GB, free: 10.39 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002723/0.4201, allocations: 71.95 kB / 1.398 GB, free: 10.32 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002541/0.4203, allocations: 182.9 kB / 1.398 GB, free: 10.14 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00492/0.4252, allocations: 2.596 MB / 1.401 GB, free: 7.539 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.01638/0.4416, allocations: 9.049 MB / 1.41 GB, free: 14.27 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/0.4437, allocations: 1.213 MB / 1.411 GB, free: 13.04 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001446/0.4452, allocations: 0.9762 MB / 1.412 GB, free: 12.06 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 6.503e-05/0.4452, allocations: 8.656 kB / 1.412 GB, free: 12.05 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.4453, allocations: 47.16 kB / 1.412 GB, free: 12 MB / 1.107 GB Notification: Performance of pre-optimization done (n=82): time 3.136e-06/0.4453, allocations: 7.938 kB / 1.412 GB, free: 11.99 MB / 1.107 GB Notification: Performance of matching and sorting (n=139): time 0.07967/0.5249, allocations: 18.88 MB / 1.43 GB, free: 9.086 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/0.525, allocations: 68.72 kB / 1.43 GB, free: 9.004 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.5264, allocations: 0.9064 MB / 1.431 GB, free: 8.09 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001566/0.5266, allocations: 53.62 kB / 1.431 GB, free: 8.031 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006079/0.5272, allocations: 0.7462 MB / 1.432 GB, free: 7.273 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000535/0.5277, allocations: 0.4996 MB / 1.432 GB, free: 6.77 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006113/0.5283, allocations: 291.5 kB / 1.433 GB, free: 6.477 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.5285, allocations: 357.9 kB / 1.433 GB, free: 6.121 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002126/0.5307, allocations: 1.335 MB / 1.434 GB, free: 4.785 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002304/0.533, allocations: 1.659 MB / 1.436 GB, free: 3.012 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004462/0.5374, allocations: 3.09 MB / 1.439 GB, free: 15.8 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.617e-06/0.5374, allocations: 0 / 1.439 GB, free: 15.8 MB / 1.139 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01262/0.5501, allocations: 5.561 MB / 1.444 GB, free: 10.21 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.531e-05/0.5501, allocations: 12.09 kB / 1.444 GB, free: 10.2 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.266e-05/0.5501, allocations: 12 kB / 1.444 GB, free: 10.19 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00941/0.5595, allocations: 2.703 MB / 1.447 GB, free: 7.477 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009337/0.5605, allocations: 195.6 kB / 1.447 GB, free: 7.285 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03996/0.6004, allocations: 24.84 MB / 1.472 GB, free: 14.04 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/0.6021, allocations: 95.95 kB / 1.472 GB, free: 13.95 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002751/0.6023, allocations: 59.94 kB / 1.472 GB, free: 13.89 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.001388/0.6037, allocations: 0.7315 MB / 1.472 GB, free: 13.14 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003342/0.6041, allocations: 127.2 kB / 1.473 GB, free: 13.02 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01233/0.6164, allocations: 5.31 MB / 1.478 GB, free: 7.676 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/0.6164, allocations: 15.94 kB / 1.478 GB, free: 7.66 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.55e-05/0.6165, allocations: 20 kB / 1.478 GB, free: 7.641 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.826e-05/0.6165, allocations: 7.969 kB / 1.478 GB, free: 7.633 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01712/0.6336, allocations: 7.956 MB / 1.486 GB, free: 15.57 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.6336, allocations: 8.031 kB / 1.486 GB, free: 15.56 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005108/0.6341, allocations: 119.8 kB / 1.486 GB, free: 15.45 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009013/0.6431, allocations: 2.584 MB / 1.488 GB, free: 12.85 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001534/0.6433, allocations: 28 kB / 1.488 GB, free: 12.82 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03779/0.6811, allocations: 23.32 MB / 1.511 GB, free: 5.086 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.381e-06/0.6811, allocations: 4 kB / 1.511 GB, free: 5.082 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01185/0.6929, allocations: 5.179 MB / 1.516 GB, free: 15.82 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/0.6941, allocations: 419.1 kB / 1.516 GB, free: 15.41 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000311/0.6944, allocations: 36.36 kB / 1.516 GB, free: 15.38 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.6954, allocations: 71.91 kB / 1.517 GB, free: 15.3 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006472/0.6961, allocations: 141 kB / 1.517 GB, free: 15.16 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/0.6962, allocations: 40 kB / 1.517 GB, free: 15.12 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0009847/0.6972, allocations: 0.6239 MB / 1.517 GB, free: 14.51 MB / 1.217 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6972, allocations: 0 / 1.517 GB, free: 14.51 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002454/0.6996, allocations: 0.7188 MB / 1.518 GB, free: 13.79 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.0003003/0.6999, allocations: 144.5 kB / 1.518 GB, free: 13.64 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.008337/0.7083, allocations: 4.074 MB / 1.522 GB, free: 9.516 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/0.7083, allocations: 8.188 kB / 1.522 GB, free: 9.508 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.005885/0.7142, allocations: 2.611 MB / 1.525 GB, free: 6.848 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.7157, allocations: 226.5 kB / 1.525 GB, free: 6.629 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007217/0.7229, allocations: 4.078 MB / 1.529 GB, free: 2.484 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001602/0.7245, allocations: 1.109 MB / 1.53 GB, free: 1.34 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0007957/0.7253, allocations: 321.2 kB / 1.53 GB, free: 1.023 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.7255, allocations: 56.5 kB / 1.53 GB, free: 0.9688 MB / 1.217 GB Notification: Performance of SimCode: time 7.42e-07/0.7255, allocations: 0 / 1.53 GB, free: 0.9688 MB / 1.217 GB Notification: Performance of Templates: time 0.06301/0.7885, allocations: 41.86 MB / 1.571 GB, free: 7.34 MB / 1.264 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/jenkins/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: 10.026214539073408]