Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 194.3 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.877/2.877, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,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_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,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_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 67.89 kB / 1.109 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.746/0.7482, allocations: 168.7 MB / 1.274 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.03136/0.7796, allocations: 23.61 MB / 1.297 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01334/0.7929, allocations: 6.389 MB / 1.303 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002274/0.7952, allocations: 99.5 kB / 1.303 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004997/0.8002, allocations: 1.613 MB / 1.305 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004855/0.8051, allocations: 1.731 MB / 1.307 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003943/0.809, allocations: 1.384 MB / 1.308 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007949/0.8169, allocations: 5.935 MB / 1.314 GB, free: 11.63 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00552/0.8225, allocations: 2.973 MB / 1.317 GB, free: 8.582 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004041/0.8265, allocations: 2.45 MB / 1.319 GB, free: 6.125 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005116/0.8316, allocations: 3.069 MB / 1.322 GB, free: 3.047 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001193/0.8328, allocations: 456 kB / 1.323 GB, free: 2.602 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002808/0.8356, allocations: 1.119 MB / 1.324 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003104/0.8387, allocations: 2.081 MB / 1.326 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.005147/0.8439, allocations: 2.167 MB / 1.328 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01533/0.8592, allocations: 7.319 MB / 1.335 GB, free: 5.879 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.254e-05/0.8592, allocations: 4 kB / 1.335 GB, free: 5.875 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8592, allocations: 3.938 kB / 1.335 GB, free: 5.871 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001845/0.8594, allocations: 0 / 1.335 GB, free: 5.871 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01592/0.8753, allocations: 3.909 MB / 1.339 GB, free: 1.895 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.643e-05/0.8754, allocations: 12.03 kB / 1.339 GB, free: 1.883 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01101/0.8864, allocations: 1.231 MB / 1.34 GB, free: 0.6484 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00687/0.8933, allocations: 2.349 MB / 1.342 GB, free: 14.24 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002523/0.8935, allocations: 246.4 kB / 1.343 GB, free: 14 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001149/0.8947, allocations: 315.9 kB / 1.343 GB, free: 13.69 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01241/0.9071, allocations: 6.216 MB / 1.349 GB, free: 7.219 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001115/0.9072, allocations: 11.88 kB / 1.349 GB, free: 7.207 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006685/0.9078, allocations: 143.9 kB / 1.349 GB, free: 7.066 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006688/0.9085, allocations: 402.3 kB / 1.349 GB, free: 6.672 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01029/0.9188, allocations: 4.666 MB / 1.354 GB, free: 1.996 MB / 1.045 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.03953/0.9583, allocations: 28.99 MB / 1.382 GB, free: 2.297 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00235/0.9607, allocations: 1.373 MB / 1.384 GB, free: 0.9102 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002201/0.9629, allocations: 1.44 MB / 1.385 GB, free: 15.47 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001343/0.963, allocations: 17 kB / 1.385 GB, free: 15.45 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.9631, allocations: 43.56 kB / 1.385 GB, free: 15.4 MB / 1.092 GB Notification: Performance of pre-optimization done (n=110): time 5.45e-06/0.9631, allocations: 3.984 kB / 1.385 GB, free: 15.39 MB / 1.092 GB Notification: Performance of matching and sorting (n=179): time 0.1615/1.125, allocations: 37.15 MB / 1.421 GB, free: 10.17 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.976e-05/1.125, allocations: 73.34 kB / 1.421 GB, free: 10.09 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002815/1.127, allocations: 1.423 MB / 1.423 GB, free: 8.656 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0003902/1.128, allocations: 53.7 kB / 1.423 GB, free: 8.598 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001377/1.129, allocations: 1.586 MB / 1.424 GB, free: 6.996 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000976/1.13, allocations: 0.6429 MB / 1.425 GB, free: 6.348 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/1.131, allocations: 383.5 kB / 1.425 GB, free: 5.965 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001537/1.131, allocations: 305.1 kB / 1.426 GB, free: 5.664 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003068/1.134, allocations: 1.784 MB / 1.428 GB, free: 3.875 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003447/1.138, allocations: 2.35 MB / 1.43 GB, free: 1.277 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006618/1.145, allocations: 4.383 MB / 1.434 GB, free: 12.65 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.429e-05/1.145, allocations: 4 kB / 1.434 GB, free: 12.65 MB / 1.139 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01994/1.164, allocations: 8.427 MB / 1.442 GB, free: 4.184 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.725e-05/1.165, allocations: 13 kB / 1.442 GB, free: 4.172 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.817e-05/1.165, allocations: 19.94 kB / 1.442 GB, free: 4.152 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01579/1.18, allocations: 4.643 MB / 1.447 GB, free: 15.49 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/1.182, allocations: 299.5 kB / 1.447 GB, free: 15.2 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05503/1.237, allocations: 32.61 MB / 1.479 GB, free: 13.74 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002346/1.239, allocations: 147.8 kB / 1.479 GB, free: 13.59 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004763/1.239, allocations: 83.98 kB / 1.479 GB, free: 13.51 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002704/1.242, allocations: 1.332 MB / 1.481 GB, free: 12.17 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005991/1.243, allocations: 210.7 kB / 1.481 GB, free: 11.96 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01951/1.262, allocations: 8.304 MB / 1.489 GB, free: 3.609 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.507e-05/1.262, allocations: 16 kB / 1.489 GB, free: 3.594 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.481e-05/1.262, allocations: 31.94 kB / 1.489 GB, free: 3.562 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.014e-05/1.262, allocations: 7.969 kB / 1.489 GB, free: 3.555 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02991/1.292, allocations: 12.69 MB / 1.501 GB, free: 6.691 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.831e-05/1.292, allocations: 8 kB / 1.501 GB, free: 6.684 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007953/1.293, allocations: 163.7 kB / 1.501 GB, free: 6.523 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01569/1.309, allocations: 4.492 MB / 1.506 GB, free: 2.016 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003358/1.309, allocations: 36 kB / 1.506 GB, free: 1.98 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05206/1.361, allocations: 32.24 MB / 1.537 GB, free: 0.8906 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.204e-05/1.361, allocations: 11.94 kB / 1.537 GB, free: 0.8789 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01855/1.38, allocations: 8.101 MB / 1.545 GB, free: 8.648 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001872/1.382, allocations: 0.6207 MB / 1.546 GB, free: 8.008 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000539/1.382, allocations: 39.98 kB / 1.546 GB, free: 7.969 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00177/1.384, allocations: 131.8 kB / 1.546 GB, free: 7.84 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007797/1.385, allocations: 172.9 kB / 1.546 GB, free: 7.672 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001722/1.385, allocations: 55.94 kB / 1.546 GB, free: 7.617 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001593/1.387, allocations: 0.9587 MB / 1.547 GB, free: 6.664 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/1.387, allocations: 3.938 kB / 1.547 GB, free: 6.66 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003537/1.39, allocations: 1.113 MB / 1.548 GB, free: 5.547 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000404/1.391, allocations: 159.5 kB / 1.548 GB, free: 5.379 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01356/1.404, allocations: 6.305 MB / 1.555 GB, free: 15 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.527e-05/1.404, allocations: 8.312 kB / 1.555 GB, free: 14.99 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.01044/1.415, allocations: 4.178 MB / 1.559 GB, free: 10.73 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003176/1.418, allocations: 0.5285 MB / 1.559 GB, free: 10.21 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/1.431, allocations: 6.998 MB / 1.566 GB, free: 3.109 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003642/1.434, allocations: 2.719 MB / 1.569 GB, free: 360 kB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.00111/1.435, allocations: 392.6 kB / 1.569 GB, free: 15.96 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002673/1.436, allocations: 91.44 kB / 1.569 GB, free: 15.87 MB / 1.279 GB Notification: Performance of SimCode: time 8.11e-07/1.436, allocations: 0 / 1.569 GB, free: 15.87 MB / 1.279 GB Notification: Performance of Templates: time 0.7039/2.14, allocations: 62.8 MB / 1.63 GB, free: 293.7 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.933700231835246]