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.001851/0.001851, allocations: 110.2 kB / 19.69 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.002572/0.002572, allocations: 216.8 kB / 23.01 MB, free: 4.566 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.369/3.369, allocations: 0.505 GB / 0.8108 GB, free: 21.98 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.003399/0.003399, allocations: 62.55 kB / 1.178 GB, free: 16.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.381, allocations: 180.2 MB / 1.354 GB, free: 8.027 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01377/0.3948, allocations: 10.46 MB / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005961/0.4007, allocations: 3.166 MB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006835/0.4014, allocations: 47.62 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001946/0.4034, allocations: 0.7205 MB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001567/0.4049, allocations: 0.7234 MB / 1.369 GB, free: 8.852 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.4064, allocations: 0.6553 MB / 1.37 GB, free: 8.195 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003147/0.4095, allocations: 2.734 MB / 1.372 GB, free: 5.453 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001881/0.4114, allocations: 1.383 MB / 1.374 GB, free: 4.027 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001769/0.4132, allocations: 1.157 MB / 1.375 GB, free: 2.867 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002057/0.4153, allocations: 1.496 MB / 1.376 GB, free: 1.367 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003132/0.4156, allocations: 220 kB / 1.376 GB, free: 1.152 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.4166, allocations: 495.3 kB / 1.377 GB, free: 0.668 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001024/0.4176, allocations: 1.013 MB / 1.378 GB, free: 15.65 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.4187, allocations: 1.011 MB / 1.379 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003563/0.4223, allocations: 3.423 MB / 1.382 GB, free: 11.2 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4223, allocations: 0 / 1.382 GB, free: 11.2 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4223, allocations: 0 / 1.382 GB, free: 11.2 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.039e-05/0.4223, allocations: 0 / 1.382 GB, free: 11.2 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.003644/0.426, allocations: 1.913 MB / 1.384 GB, free: 9.25 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.426, allocations: 15.97 kB / 1.384 GB, free: 9.234 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005449/0.4315, allocations: 0.8892 MB / 1.385 GB, free: 8.344 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002678/0.4341, allocations: 1.124 MB / 1.386 GB, free: 7.184 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.4342, allocations: 111.3 kB / 1.386 GB, free: 7.074 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003027/0.4345, allocations: 140.4 kB / 1.386 GB, free: 6.938 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004856/0.4394, allocations: 3.029 MB / 1.389 GB, free: 3.809 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.23e-05/0.4394, allocations: 4 kB / 1.389 GB, free: 3.805 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/0.4396, allocations: 59.98 kB / 1.389 GB, free: 3.746 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000234/0.4399, allocations: 175 kB / 1.389 GB, free: 3.574 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004217/0.4441, allocations: 2.608 MB / 1.392 GB, free: 0.9609 MB / 1.076 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.01737/0.4614, allocations: 13.38 MB / 1.405 GB, free: 2.484 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/0.4634, allocations: 1.218 MB / 1.406 GB, free: 1.254 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001425/0.4648, allocations: 0.9888 MB / 1.407 GB, free: 268 kB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.176e-05/0.4649, allocations: 8.656 kB / 1.407 GB, free: 260 kB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.465, allocations: 39.22 kB / 1.407 GB, free: 212 kB / 1.092 GB Notification: Performance of pre-optimization done (n=82): time 3.156e-06/0.465, allocations: 0 / 1.407 GB, free: 212 kB / 1.092 GB Notification: Performance of matching and sorting (n=139): time 0.0705/0.5355, allocations: 18.88 MB / 1.426 GB, free: 13.3 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/0.5355, allocations: 72.66 kB / 1.426 GB, free: 13.21 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.537, allocations: 0.9223 MB / 1.427 GB, free: 12.28 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002133/0.5372, allocations: 45.7 kB / 1.427 GB, free: 12.23 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000598/0.5378, allocations: 0.7501 MB / 1.427 GB, free: 11.46 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005225/0.5383, allocations: 0.4996 MB / 1.428 GB, free: 10.96 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000576/0.5389, allocations: 291.5 kB / 1.428 GB, free: 10.67 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.539, allocations: 353.9 kB / 1.428 GB, free: 10.32 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001986/0.541, allocations: 1.335 MB / 1.43 GB, free: 8.984 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002227/0.5433, allocations: 1.663 MB / 1.431 GB, free: 7.211 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004397/0.5477, allocations: 3.096 MB / 1.434 GB, free: 3.996 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.5477, allocations: 0 / 1.434 GB, free: 3.996 MB / 1.123 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.0118/0.5595, allocations: 5.561 MB / 1.44 GB, free: 14.41 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.625e-05/0.5595, allocations: 12 kB / 1.44 GB, free: 14.39 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/0.5595, allocations: 12.59 kB / 1.44 GB, free: 14.38 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008744/0.5683, allocations: 2.706 MB / 1.443 GB, free: 11.66 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008611/0.5691, allocations: 191.7 kB / 1.443 GB, free: 11.48 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04014/0.6093, allocations: 25.34 MB / 1.467 GB, free: 1.676 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/0.6109, allocations: 100.4 kB / 1.468 GB, free: 1.578 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/0.6111, allocations: 56 kB / 1.468 GB, free: 1.523 MB / 1.154 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.6124, allocations: 0.7354 MB / 1.468 GB, free: 0.7773 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002761/0.6126, allocations: 119.2 kB / 1.468 GB, free: 0.6602 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01174/0.6244, allocations: 5.318 MB / 1.474 GB, free: 11.3 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.25e-05/0.6244, allocations: 15.98 kB / 1.474 GB, free: 11.29 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.952e-05/0.6245, allocations: 24 kB / 1.474 GB, free: 11.27 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.817e-05/0.6245, allocations: 3.984 kB / 1.474 GB, free: 11.26 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01749/0.642, allocations: 8.599 MB / 1.482 GB, free: 2.551 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.049e-05/0.642, allocations: 4 kB / 1.482 GB, free: 2.547 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005152/0.6425, allocations: 119.8 kB / 1.482 GB, free: 2.43 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008712/0.6512, allocations: 2.587 MB / 1.485 GB, free: 15.83 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002326/0.6515, allocations: 36 kB / 1.485 GB, free: 15.79 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03725/0.6887, allocations: 23.77 MB / 1.508 GB, free: 7.559 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.6887, allocations: 4 kB / 1.508 GB, free: 7.555 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01149/0.7002, allocations: 5.183 MB / 1.513 GB, free: 2.289 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001412/0.7016, allocations: 423.1 kB / 1.513 GB, free: 1.875 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002656/0.7019, allocations: 28 kB / 1.513 GB, free: 1.848 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008859/0.7028, allocations: 75.91 kB / 1.514 GB, free: 1.773 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005296/0.7033, allocations: 136.9 kB / 1.514 GB, free: 1.637 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/0.7034, allocations: 32 kB / 1.514 GB, free: 1.605 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0009926/0.7044, allocations: 0.6434 MB / 1.514 GB, free: 0.9609 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7044, allocations: 3.938 kB / 1.514 GB, free: 0.957 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.003206/0.7076, allocations: 0.7227 MB / 1.515 GB, free: 240 kB / 1.201 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.0003676/0.708, allocations: 135.1 kB / 1.515 GB, free: 96 kB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.008271/0.7163, allocations: 4.098 MB / 1.519 GB, free: 11.95 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/0.7163, allocations: 0 / 1.519 GB, free: 11.95 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.005481/0.7218, allocations: 2.622 MB / 1.522 GB, free: 9.27 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.7232, allocations: 228 kB / 1.522 GB, free: 9.059 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00753/0.7307, allocations: 4.338 MB / 1.526 GB, free: 4.648 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001822/0.7325, allocations: 1.739 MB / 1.528 GB, free: 2.875 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/0.7328, allocations: 59.44 kB / 1.528 GB, free: 2.816 MB / 1.217 GB Notification: Performance of SimCode: time 1.693e-06/0.7328, allocations: 0 / 1.528 GB, free: 2.816 MB / 1.217 GB Notification: Performance of Templates: time 0.07359/0.8064, allocations: 60.07 MB / 1.587 GB, free: 6.742 MB / 1.279 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/jenkins1/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: 15.601695552992169]