Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001417/0.001417, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001708/0.001708, allocations: 185.8 kB / 22.23 MB, free: 5.105 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.516/1.516, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.655/2.655, allocations: 443.4 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 67.89 kB / 1.061 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.003, allocations: 160.8 MB / 1.218 GB, free: 3.801 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.03036/1.034, allocations: 23.64 MB / 1.242 GB, free: 15.61 MB / 0.9513 GB Notification: Performance of NFInst.instExpressions: time 0.01247/1.046, allocations: 6.396 MB / 1.248 GB, free: 9.199 MB / 0.9513 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002367/1.049, allocations: 123.1 kB / 1.248 GB, free: 9.078 MB / 0.9513 GB Notification: Performance of NFTyping.typeComponents: time 0.004932/1.053, allocations: 1.623 MB / 1.25 GB, free: 7.449 MB / 0.9513 GB Notification: Performance of NFTyping.typeBindings: time 0.00557/1.059, allocations: 1.723 MB / 1.251 GB, free: 5.719 MB / 0.9513 GB Notification: Performance of NFTyping.typeClassSections: time 0.004234/1.063, allocations: 1.388 MB / 1.253 GB, free: 4.332 MB / 0.9513 GB Notification: Performance of NFFlatten.flatten: time 0.009059/1.072, allocations: 5.944 MB / 1.258 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007013/1.079, allocations: 2.981 MB / 1.261 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00515/1.084, allocations: 2.477 MB / 1.264 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00614/1.091, allocations: 3.065 MB / 1.267 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001458/1.092, allocations: 456 kB / 1.267 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003453/1.096, allocations: 1.123 MB / 1.268 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.003393/1.099, allocations: 2.085 MB / 1.27 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00441/1.103, allocations: 2.163 MB / 1.272 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01023/1.114, allocations: 7.322 MB / 1.28 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.114, allocations: 0 / 1.28 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.173e-06/1.114, allocations: 0 / 1.28 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002158/1.114, allocations: 0 / 1.28 GB, free: 8.586 MB / 0.9825 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.01076/1.125, allocations: 3.913 MB / 1.283 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/1.125, allocations: 12.03 kB / 1.283 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006829/1.131, allocations: 1.224 MB / 1.285 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006653/1.138, allocations: 2.357 MB / 1.287 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002353/1.138, allocations: 238.4 kB / 1.287 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009536/1.139, allocations: 315.9 kB / 1.287 GB, free: 420 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0148/1.154, allocations: 6.216 MB / 1.293 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001022/1.154, allocations: 15.83 kB / 1.293 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004829/1.155, allocations: 143.9 kB / 1.294 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006414/1.155, allocations: 410.3 kB / 1.294 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01094/1.166, allocations: 4.658 MB / 1.299 GB, free: 4.715 MB / 0.9981 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.04286/1.209, allocations: 28.99 MB / 1.327 GB, free: 5.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002472/1.212, allocations: 1.369 MB / 1.328 GB, free: 3.633 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002307/1.214, allocations: 1.437 MB / 1.33 GB, free: 2.195 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/1.214, allocations: 13 kB / 1.33 GB, free: 2.184 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/1.214, allocations: 51.48 kB / 1.33 GB, free: 2.125 MB / 1.029 GB Notification: Performance of pre-optimization done (n=110): time 3.316e-06/1.214, allocations: 0 / 1.33 GB, free: 2.125 MB / 1.029 GB Notification: Performance of matching and sorting (n=179): time 0.1402/1.354, allocations: 37.15 MB / 1.366 GB, free: 12.9 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.632e-05/1.354, allocations: 73.41 kB / 1.366 GB, free: 12.81 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002623/1.357, allocations: 1.427 MB / 1.367 GB, free: 11.38 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0003022/1.357, allocations: 57.7 kB / 1.367 GB, free: 11.32 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.00138/1.359, allocations: 1.586 MB / 1.369 GB, free: 9.715 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000864/1.36, allocations: 0.639 MB / 1.37 GB, free: 9.07 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007895/1.36, allocations: 383.5 kB / 1.37 GB, free: 8.688 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001553/1.36, allocations: 305.1 kB / 1.37 GB, free: 8.387 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002816/1.363, allocations: 1.78 MB / 1.372 GB, free: 6.602 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003182/1.366, allocations: 2.354 MB / 1.374 GB, free: 4 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006305/1.373, allocations: 4.387 MB / 1.379 GB, free: 15.37 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.55e-05/1.373, allocations: 4 kB / 1.379 GB, free: 15.37 MB / 1.092 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01835/1.391, allocations: 8.431 MB / 1.387 GB, free: 6.898 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/1.391, allocations: 12.19 kB / 1.387 GB, free: 6.887 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-05/1.391, allocations: 20 kB / 1.387 GB, free: 6.867 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0146/1.406, allocations: 4.637 MB / 1.391 GB, free: 2.215 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/1.407, allocations: 307.4 kB / 1.392 GB, free: 1.914 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05086/1.458, allocations: 32.62 MB / 1.424 GB, free: 448 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00208/1.46, allocations: 147.8 kB / 1.424 GB, free: 300 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002307/1.46, allocations: 88.22 kB / 1.424 GB, free: 212 kB / 1.123 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.002428/1.463, allocations: 1.332 MB / 1.425 GB, free: 14.86 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004873/1.463, allocations: 210.7 kB / 1.425 GB, free: 14.65 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01812/1.481, allocations: 8.296 MB / 1.433 GB, free: 6.312 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.911e-05/1.481, allocations: 20 kB / 1.433 GB, free: 6.293 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001558/1.481, allocations: 27.94 kB / 1.433 GB, free: 6.266 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-05/1.482, allocations: 11.95 kB / 1.433 GB, free: 6.254 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03217/1.514, allocations: 12.69 MB / 1.446 GB, free: 9.391 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.978e-05/1.514, allocations: 7.938 kB / 1.446 GB, free: 9.383 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008612/1.515, allocations: 167.7 kB / 1.446 GB, free: 9.219 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01528/1.53, allocations: 4.482 MB / 1.45 GB, free: 4.723 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003874/1.53, allocations: 36 kB / 1.45 GB, free: 4.688 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05463/1.585, allocations: 32.23 MB / 1.482 GB, free: 3.602 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-05/1.585, allocations: 7.938 kB / 1.482 GB, free: 3.594 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01919/1.604, allocations: 8.105 MB / 1.49 GB, free: 11.36 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002218/1.606, allocations: 0.6285 MB / 1.49 GB, free: 10.71 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000595/1.607, allocations: 43.94 kB / 1.49 GB, free: 10.67 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001734/1.609, allocations: 135.8 kB / 1.491 GB, free: 10.54 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009195/1.61, allocations: 180.8 kB / 1.491 GB, free: 10.36 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001954/1.61, allocations: 48 kB / 1.491 GB, free: 10.31 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001905/1.612, allocations: 0.9588 MB / 1.492 GB, free: 9.359 MB / 1.201 GB Notification: Performance of sort global known variables: time 8.1e-08/1.612, allocations: 0 / 1.492 GB, free: 9.359 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.004628/1.616, allocations: 1.121 MB / 1.493 GB, free: 8.238 MB / 1.201 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.0004672/1.617, allocations: 151 kB / 1.493 GB, free: 8.082 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01412/1.631, allocations: 6.3 MB / 1.499 GB, free: 1.699 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-05/1.631, allocations: 4 kB / 1.499 GB, free: 1.695 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.01568/1.647, allocations: 4.182 MB / 1.503 GB, free: 13.43 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005451/1.652, allocations: 0.524 MB / 1.504 GB, free: 12.92 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0251/1.677, allocations: 7.013 MB / 1.511 GB, free: 5.805 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008481/1.686, allocations: 2.727 MB / 1.513 GB, free: 3.043 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.00237/1.688, allocations: 392.5 kB / 1.514 GB, free: 2.656 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005043/1.688, allocations: 91.44 kB / 1.514 GB, free: 2.566 MB / 1.217 GB Notification: Performance of SimCode: time 1.523e-06/1.688, allocations: 0 / 1.514 GB, free: 2.566 MB / 1.217 GB Notification: Performance of Templates: time 0.1965/1.885, allocations: 63.47 MB / 1.576 GB, free: 3.371 MB / 1.279 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.301689192652702]