Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001385/0.001385, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001489/0.001489, allocations: 188.8 kB / 22.11 MB, free: 4.223 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.447/1.447, allocations: 225.6 MB / 250.8 MB, free: 2.902 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.873/2.873, allocations: 495.8 MB / 0.7831 GB, free: 12.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 67.89 kB / 1.137 GB, free: 12.22 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9664/0.9686, allocations: 173.6 MB / 1.307 GB, free: 33.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01906/0.9876, allocations: 23.46 MB / 1.33 GB, free: 18.19 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01137/0.999, allocations: 6.369 MB / 1.336 GB, free: 13.84 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003134/1.002, allocations: 127 kB / 1.336 GB, free: 13.77 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004757/1.007, allocations: 1.625 MB / 1.338 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004211/1.011, allocations: 1.722 MB / 1.339 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003712/1.015, allocations: 1.385 MB / 1.341 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00796/1.023, allocations: 5.945 MB / 1.346 GB, free: 8.418 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005149/1.028, allocations: 2.975 MB / 1.349 GB, free: 6.918 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004847/1.033, allocations: 2.476 MB / 1.352 GB, free: 5.812 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005483/1.038, allocations: 3.071 MB / 1.355 GB, free: 4.59 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001343/1.04, allocations: 456.6 kB / 1.355 GB, free: 4.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002897/1.042, allocations: 1.042 MB / 1.356 GB, free: 4.371 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002564/1.045, allocations: 2.081 MB / 1.358 GB, free: 3.547 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.003683/1.049, allocations: 2.166 MB / 1.36 GB, free: 2.16 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01062/1.059, allocations: 7.316 MB / 1.368 GB, free: 15.84 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/1.059, allocations: 0 / 1.368 GB, free: 15.84 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.134e-06/1.059, allocations: 0.7969 kB / 1.368 GB, free: 15.84 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002235/1.06, allocations: 0 / 1.368 GB, free: 15.84 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01201/1.072, allocations: 3.839 MB / 1.371 GB, free: 13.59 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/1.072, allocations: 10.92 kB / 1.371 GB, free: 13.59 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007374/1.079, allocations: 1.227 MB / 1.372 GB, free: 13.34 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006098/1.085, allocations: 2.303 MB / 1.375 GB, free: 12.18 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002364/1.085, allocations: 239.6 kB / 1.375 GB, free: 12.07 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001057/1.086, allocations: 313.8 kB / 1.375 GB, free: 11.96 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01256/1.099, allocations: 6.213 MB / 1.381 GB, free: 9.387 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.984e-05/1.099, allocations: 19.25 kB / 1.381 GB, free: 9.375 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004495/1.1, allocations: 141.7 kB / 1.381 GB, free: 9.27 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005612/1.1, allocations: 407.4 kB / 1.382 GB, free: 9.211 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009966/1.11, allocations: 4.659 MB / 1.386 GB, free: 7.641 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.04425/1.154, allocations: 28.65 MB / 1.414 GB, free: 14.58 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002447/1.157, allocations: 1.368 MB / 1.416 GB, free: 13.85 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002335/1.159, allocations: 1.445 MB / 1.417 GB, free: 13.12 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001439/1.159, allocations: 12.19 kB / 1.417 GB, free: 13.12 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/1.159, allocations: 51.5 kB / 1.417 GB, free: 13.06 MB / 1.107 GB Notification: Performance of pre-optimization done (n=110): time 3.176e-06/1.159, allocations: 0 / 1.417 GB, free: 13.06 MB / 1.107 GB Notification: Performance of matching and sorting (n=179): time 0.1677/1.327, allocations: 37.08 MB / 1.453 GB, free: 15.76 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.697e-05/1.327, allocations: 73.34 kB / 1.453 GB, free: 15.68 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002697/1.33, allocations: 1.423 MB / 1.455 GB, free: 14.25 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.000505/1.33, allocations: 53.7 kB / 1.455 GB, free: 14.19 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001619/1.332, allocations: 1.583 MB / 1.456 GB, free: 12.59 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001155/1.333, allocations: 0.6429 MB / 1.457 GB, free: 11.94 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001162/1.334, allocations: 379.5 kB / 1.457 GB, free: 11.56 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001567/1.334, allocations: 309.1 kB / 1.458 GB, free: 11.26 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003257/1.338, allocations: 1.78 MB / 1.459 GB, free: 9.473 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003693/1.341, allocations: 2.35 MB / 1.462 GB, free: 6.875 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007302/1.349, allocations: 4.394 MB / 1.466 GB, free: 2.242 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.45e-05/1.349, allocations: 4 kB / 1.466 GB, free: 2.238 MB / 1.139 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.02053/1.369, allocations: 8.424 MB / 1.474 GB, free: 9.777 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/1.369, allocations: 15.94 kB / 1.474 GB, free: 9.762 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.542e-05/1.369, allocations: 16 kB / 1.474 GB, free: 9.746 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01677/1.386, allocations: 4.622 MB / 1.479 GB, free: 5.109 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/1.387, allocations: 307.4 kB / 1.479 GB, free: 4.809 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05823/1.446, allocations: 32 MB / 1.51 GB, free: 4.109 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002474/1.448, allocations: 151.8 kB / 1.511 GB, free: 3.961 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003615/1.449, allocations: 84 kB / 1.511 GB, free: 3.879 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.002785/1.451, allocations: 1.338 MB / 1.512 GB, free: 2.531 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000579/1.452, allocations: 210.7 kB / 1.512 GB, free: 2.324 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01979/1.472, allocations: 8.289 MB / 1.52 GB, free: 9.988 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/1.472, allocations: 16 kB / 1.52 GB, free: 9.973 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.442e-05/1.472, allocations: 27.94 kB / 1.52 GB, free: 9.945 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-05/1.472, allocations: 7.969 kB / 1.52 GB, free: 9.938 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02818/1.5, allocations: 12.67 MB / 1.533 GB, free: 13.1 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-05/1.5, allocations: 8 kB / 1.533 GB, free: 13.09 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000802/1.501, allocations: 159.8 kB / 1.533 GB, free: 12.93 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01615/1.517, allocations: 4.47 MB / 1.537 GB, free: 8.449 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003021/1.517, allocations: 36 kB / 1.537 GB, free: 8.414 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05356/1.571, allocations: 31.63 MB / 1.568 GB, free: 8.078 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.986e-06/1.571, allocations: 8 kB / 1.568 GB, free: 8.07 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01926/1.59, allocations: 8.101 MB / 1.576 GB, free: 15.84 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001871/1.592, allocations: 0.5531 MB / 1.577 GB, free: 15.29 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004431/1.592, allocations: 32 kB / 1.577 GB, free: 15.26 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001661/1.594, allocations: 139.8 kB / 1.577 GB, free: 15.12 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009053/1.595, allocations: 176.9 kB / 1.577 GB, free: 14.95 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001723/1.595, allocations: 48 kB / 1.577 GB, free: 14.9 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001655/1.597, allocations: 0.9664 MB / 1.578 GB, free: 13.94 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.2e-07/1.597, allocations: 0 / 1.578 GB, free: 13.94 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.004093/1.601, allocations: 1.117 MB / 1.579 GB, free: 12.82 MB / 1.264 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.0004002/1.601, allocations: 147.2 kB / 1.579 GB, free: 12.67 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01439/1.616, allocations: 6.306 MB / 1.585 GB, free: 6.289 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/1.616, allocations: 8.312 kB / 1.585 GB, free: 6.281 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.01086/1.627, allocations: 4.185 MB / 1.589 GB, free: 2.016 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002915/1.629, allocations: 0.5319 MB / 1.59 GB, free: 1.496 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/1.642, allocations: 6.992 MB / 1.597 GB, free: 10.4 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003373/1.646, allocations: 2.723 MB / 1.599 GB, free: 7.637 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001112/1.647, allocations: 388.5 kB / 1.6 GB, free: 7.254 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/1.647, allocations: 99.42 kB / 1.6 GB, free: 7.156 MB / 1.279 GB Notification: Performance of SimCode: time 8.41e-07/1.647, allocations: 0 / 1.6 GB, free: 7.156 MB / 1.279 GB Notification: Performance of Templates: time 0.1089/1.756, allocations: 63.47 MB / 1.662 GB, free: 7.957 MB / 1.342 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.931265119463205]