Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001567/0.001567, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001768/0.001768, allocations: 219.1 kB / 23.01 MB, free: 4.609 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.773/2.773, allocations: 476.7 MB / 0.7714 GB, free: 4.344 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002028/0.002028, allocations: 68.27 kB / 1.119 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3434, allocations: 170 MB / 1.285 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01339/0.3568, allocations: 10.46 MB / 1.295 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006082/0.3628, allocations: 3.177 MB / 1.298 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007234/0.3636, allocations: 43.69 kB / 1.298 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001974/0.3655, allocations: 0.7192 MB / 1.299 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001666/0.3672, allocations: 0.7196 MB / 1.299 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.3687, allocations: 0.6484 MB / 1.3 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003242/0.372, allocations: 2.742 MB / 1.303 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002018/0.374, allocations: 1.375 MB / 1.304 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001881/0.3759, allocations: 1.157 MB / 1.305 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002213/0.3781, allocations: 1.492 MB / 1.307 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003262/0.3784, allocations: 220 kB / 1.307 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.3794, allocations: 0.4915 MB / 1.307 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00104/0.3805, allocations: 1.002 MB / 1.308 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.3816, allocations: 1.019 MB / 1.309 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003669/0.3853, allocations: 3.415 MB / 1.313 GB, free: 14.45 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3853, allocations: 0 / 1.313 GB, free: 14.45 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3853, allocations: 0 / 1.313 GB, free: 14.45 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.058e-05/0.3853, allocations: 0 / 1.313 GB, free: 14.45 MB / 1.014 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.003846/0.3892, allocations: 1.913 MB / 1.314 GB, free: 12.5 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.3892, allocations: 8.031 kB / 1.315 GB, free: 12.49 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005305/0.3945, allocations: 0.9009 MB / 1.315 GB, free: 11.59 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002603/0.3971, allocations: 1.128 MB / 1.316 GB, free: 10.43 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.3972, allocations: 111.3 kB / 1.317 GB, free: 10.32 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002804/0.3975, allocations: 144.3 kB / 1.317 GB, free: 10.18 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004819/0.4023, allocations: 3.013 MB / 1.32 GB, free: 7.066 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.349e-05/0.4024, allocations: 11.89 kB / 1.32 GB, free: 7.055 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001784/0.4026, allocations: 59.97 kB / 1.32 GB, free: 6.996 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002411/0.4028, allocations: 179 kB / 1.32 GB, free: 6.82 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004187/0.407, allocations: 2.608 MB / 1.322 GB, free: 4.207 MB / 1.014 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.01707/0.4241, allocations: 13.4 MB / 1.336 GB, free: 5.719 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001942/0.426, allocations: 1.223 MB / 1.337 GB, free: 4.484 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/0.4274, allocations: 0.9838 MB / 1.338 GB, free: 3.496 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.062e-05/0.4274, allocations: 8.656 kB / 1.338 GB, free: 3.488 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.4275, allocations: 47.16 kB / 1.338 GB, free: 3.434 MB / 1.029 GB Notification: Performance of pre-optimization done (n=82): time 2.405e-06/0.4275, allocations: 0 / 1.338 GB, free: 3.434 MB / 1.029 GB Notification: Performance of matching and sorting (n=139): time 0.06851/0.496, allocations: 18.88 MB / 1.356 GB, free: 0.5234 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/0.496, allocations: 68.66 kB / 1.356 GB, free: 452 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.4974, allocations: 0.9261 MB / 1.357 GB, free: 15.5 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001595/0.4975, allocations: 45.7 kB / 1.357 GB, free: 15.45 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005499/0.4981, allocations: 0.7541 MB / 1.358 GB, free: 14.69 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004654/0.4985, allocations: 0.4957 MB / 1.358 GB, free: 14.19 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005409/0.4991, allocations: 295.5 kB / 1.359 GB, free: 13.89 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001948/0.4993, allocations: 353.9 kB / 1.359 GB, free: 13.54 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001926/0.5012, allocations: 1.335 MB / 1.36 GB, free: 12.21 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002182/0.5034, allocations: 1.655 MB / 1.362 GB, free: 10.44 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004143/0.5075, allocations: 3.086 MB / 1.365 GB, free: 7.23 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.5075, allocations: 4 kB / 1.365 GB, free: 7.227 MB / 1.061 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.0114/0.5189, allocations: 5.557 MB / 1.37 GB, free: 1.645 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.618e-05/0.519, allocations: 11.98 kB / 1.37 GB, free: 1.633 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/0.519, allocations: 15.94 kB / 1.37 GB, free: 1.617 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008358/0.5274, allocations: 2.715 MB / 1.373 GB, free: 14.89 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008227/0.5282, allocations: 187.7 kB / 1.373 GB, free: 14.71 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0377/0.5659, allocations: 25.34 MB / 1.398 GB, free: 4.902 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.5674, allocations: 95.95 kB / 1.398 GB, free: 4.809 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/0.5675, allocations: 60 kB / 1.398 GB, free: 4.75 MB / 1.092 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.001317/0.5689, allocations: 0.7315 MB / 1.399 GB, free: 4.008 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/0.5691, allocations: 127.2 kB / 1.399 GB, free: 3.883 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01134/0.5804, allocations: 5.314 MB / 1.404 GB, free: 14.54 MB / 1.108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/0.5805, allocations: 12 kB / 1.404 GB, free: 14.52 MB / 1.108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-05/0.5805, allocations: 20 kB / 1.404 GB, free: 14.5 MB / 1.108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-05/0.5805, allocations: 8.469 kB / 1.404 GB, free: 14.5 MB / 1.108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01703/0.5976, allocations: 8.591 MB / 1.413 GB, free: 5.789 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/0.5976, allocations: 4 kB / 1.413 GB, free: 5.785 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004939/0.5981, allocations: 116.3 kB / 1.413 GB, free: 5.672 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00825/0.6063, allocations: 2.603 MB / 1.415 GB, free: 3.059 MB / 1.108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001931/0.6065, allocations: 28 kB / 1.415 GB, free: 3.031 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03504/0.6416, allocations: 23.76 MB / 1.439 GB, free: 10.8 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.946e-06/0.6416, allocations: 7.938 kB / 1.439 GB, free: 10.8 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01086/0.6524, allocations: 5.175 MB / 1.444 GB, free: 5.543 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/0.6537, allocations: 423.1 kB / 1.444 GB, free: 5.129 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002204/0.6539, allocations: 31.95 kB / 1.444 GB, free: 5.098 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008801/0.6548, allocations: 75.89 kB / 1.444 GB, free: 5.023 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005483/0.6554, allocations: 129 kB / 1.444 GB, free: 4.895 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.6555, allocations: 40 kB / 1.444 GB, free: 4.855 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009138/0.6564, allocations: 0.6514 MB / 1.445 GB, free: 4.207 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.6564, allocations: 0 / 1.445 GB, free: 4.207 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002468/0.6589, allocations: 0.7265 MB / 1.446 GB, free: 3.48 MB / 1.139 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.0002855/0.6591, allocations: 139.1 kB / 1.446 GB, free: 3.336 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.007265/0.6664, allocations: 4.078 MB / 1.45 GB, free: 15.2 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.6664, allocations: 8.188 kB / 1.45 GB, free: 15.2 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.005188/0.6716, allocations: 2.618 MB / 1.452 GB, free: 12.53 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.673, allocations: 227.9 kB / 1.452 GB, free: 12.32 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008183/0.6811, allocations: 4.339 MB / 1.457 GB, free: 7.902 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001842/0.683, allocations: 1.731 MB / 1.458 GB, free: 6.137 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003041/0.6833, allocations: 63.42 kB / 1.458 GB, free: 6.074 MB / 1.154 GB Notification: Performance of SimCode: time 1.533e-06/0.6833, allocations: 4 kB / 1.458 GB, free: 6.07 MB / 1.154 GB Notification: Performance of Templates: time 0.07396/0.7573, allocations: 60.06 MB / 1.517 GB, free: 9.996 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.860669797984883]