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.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.0009241/0.0009241, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008406/0.0008406, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8977/0.8977, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.774/1.774, allocations: 377.8 MB / 0.6229 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_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 1.713e-06/1.713e-06, allocations: 0 / 0.9822 GB, free: 2.035 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.82e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.031 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01584/0.01587, allocations: 21.14 MB / 1.003 GB, free: 12.81 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.009324/0.02519, allocations: 6.119 MB / 1.009 GB, free: 6.68 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002188/0.02738, allocations: 123.1 kB / 1.009 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.002709/0.03009, allocations: 1.572 MB / 1.01 GB, free: 4.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.003999/0.03409, allocations: 1.772 MB / 1.012 GB, free: 3.199 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002785/0.03688, allocations: 1.357 MB / 1.014 GB, free: 1.844 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.005097/0.04197, allocations: 6.051 MB / 1.019 GB, free: 11.78 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003863/0.04584, allocations: 3.205 MB / 1.023 GB, free: 8.484 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004906/0.05074, allocations: 3.434 MB / 1.026 GB, free: 5.043 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003418/0.05416, allocations: 2.782 MB / 1.029 GB, free: 2.254 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0009481/0.05511, allocations: 456 kB / 1.029 GB, free: 1.809 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001987/0.0571, allocations: 1.053 MB / 1.03 GB, free: 0.7539 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.002145/0.05924, allocations: 2.186 MB / 1.032 GB, free: 14.56 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.002192/0.06143, allocations: 1.505 MB / 1.034 GB, free: 13.05 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.00658/0.06801, allocations: 7.441 MB / 1.041 GB, free: 5.594 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.06802, allocations: 0 / 1.041 GB, free: 5.594 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.174e-06/0.06802, allocations: 0 / 1.041 GB, free: 5.594 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001965/0.06822, allocations: 0 / 1.041 GB, free: 5.594 MB / 0.9948 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.006655/0.07487, allocations: 3.791 MB / 1.045 GB, free: 1.754 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.07492, allocations: 8.031 kB / 1.045 GB, free: 1.746 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003677/0.07859, allocations: 1.247 MB / 1.046 GB, free: 0.4961 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4907/0.5693, allocations: 2.295 MB / 1.048 GB, free: 98.35 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.5695, allocations: 242 kB / 1.048 GB, free: 98.25 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006338/0.5701, allocations: 316.5 kB / 1.049 GB, free: 98.16 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007238/0.5773, allocations: 6.437 MB / 1.055 GB, free: 95.37 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.888e-05/0.5774, allocations: 17.78 kB / 1.055 GB, free: 95.36 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002296/0.5776, allocations: 136.1 kB / 1.055 GB, free: 95.27 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002921/0.5779, allocations: 407.1 kB / 1.056 GB, free: 95.21 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005192/0.5831, allocations: 4.661 MB / 1.06 GB, free: 93.64 MB / 0.9948 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.01632/0.5994, allocations: 18.04 MB / 1.078 GB, free: 82.33 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.6007, allocations: 1.37 MB / 1.079 GB, free: 81.83 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/0.6023, allocations: 1.434 MB / 1.08 GB, free: 81.33 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-05/0.6024, allocations: 11.97 kB / 1.08 GB, free: 81.33 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.6024, allocations: 48.75 kB / 1.08 GB, free: 81.27 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=110): time 3.306e-06/0.6024, allocations: 0 / 1.08 GB, free: 81.27 MB / 0.9948 GB Notification: Performance of matching and sorting (n=179): time 0.07975/0.6822, allocations: 37.06 MB / 1.117 GB, free: 75.83 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.6822, allocations: 70.84 kB / 1.117 GB, free: 75.77 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.6838, allocations: 1.361 MB / 1.118 GB, free: 75.24 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002766/0.6841, allocations: 55.17 kB / 1.118 GB, free: 75.18 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005921/0.6847, allocations: 1.581 MB / 1.12 GB, free: 73.98 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004286/0.6851, allocations: 0.637 MB / 1.12 GB, free: 73.47 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004828/0.6856, allocations: 380.4 kB / 1.121 GB, free: 73.27 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.082e-05/0.6857, allocations: 301.1 kB / 1.121 GB, free: 72.97 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001819/0.6875, allocations: 1.785 MB / 1.123 GB, free: 72.04 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00223/0.6897, allocations: 2.353 MB / 1.125 GB, free: 70.39 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004152/0.6939, allocations: 4.39 MB / 1.129 GB, free: 67.65 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.554e-05/0.6939, allocations: 4.906 kB / 1.129 GB, free: 67.65 MB / 0.9948 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.0105/0.7044, allocations: 8.423 MB / 1.138 GB, free: 61.64 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/0.7044, allocations: 12.97 kB / 1.138 GB, free: 61.62 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/0.7044, allocations: 16 kB / 1.138 GB, free: 61.61 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007771/0.7122, allocations: 4.617 MB / 1.142 GB, free: 56.98 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000829/0.713, allocations: 307.4 kB / 1.142 GB, free: 56.68 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02478/0.7378, allocations: 31.42 MB / 1.173 GB, free: 24.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/0.7395, allocations: 151.8 kB / 1.173 GB, free: 24.54 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.7396, allocations: 83.98 kB / 1.173 GB, free: 24.45 MB / 0.9948 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.001795/0.7414, allocations: 1.329 MB / 1.175 GB, free: 23.11 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000337/0.7418, allocations: 198.8 kB / 1.175 GB, free: 22.92 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0095/0.7513, allocations: 8.3 MB / 1.183 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.7513, allocations: 16 kB / 1.183 GB, free: 14.55 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.789e-05/0.7513, allocations: 24 kB / 1.183 GB, free: 14.53 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.26e-05/0.7514, allocations: 14.3 kB / 1.183 GB, free: 14.52 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01421/0.7656, allocations: 11.64 MB / 1.194 GB, free: 2.762 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/0.7656, allocations: 4.125 kB / 1.194 GB, free: 2.758 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004396/0.766, allocations: 171.7 kB / 1.194 GB, free: 2.59 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008075/0.7741, allocations: 4.468 MB / 1.199 GB, free: 14.11 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002841/0.7744, allocations: 35.94 kB / 1.199 GB, free: 14.07 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03276/0.8072, allocations: 31.03 MB / 1.229 GB, free: 14.45 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/0.8072, allocations: 7.938 kB / 1.229 GB, free: 14.44 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01145/0.8186, allocations: 8.077 MB / 1.237 GB, free: 6.242 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00136/0.82, allocations: 0.5414 MB / 1.238 GB, free: 5.699 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003162/0.8203, allocations: 48.05 kB / 1.238 GB, free: 5.652 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008768/0.8212, allocations: 139.7 kB / 1.238 GB, free: 5.516 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007407/0.8219, allocations: 180.8 kB / 1.238 GB, free: 5.336 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.304e-05/0.822, allocations: 48 kB / 1.238 GB, free: 5.289 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0009881/0.823, allocations: 0.8976 MB / 1.239 GB, free: 4.395 MB / 1.042 GB Notification: Performance of sort global known variables: time 3.21e-07/0.823, allocations: 0 / 1.239 GB, free: 4.395 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.003439/0.8264, allocations: 1.113 MB / 1.24 GB, free: 3.281 MB / 1.042 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.000377/0.8268, allocations: 151.1 kB / 1.24 GB, free: 3.125 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.008602/0.8354, allocations: 6.305 MB / 1.246 GB, free: 12.76 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/0.8354, allocations: 4.875 kB / 1.246 GB, free: 12.76 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.005865/0.8413, allocations: 4.174 MB / 1.25 GB, free: 8.512 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002133/0.8434, allocations: 0.5089 MB / 1.251 GB, free: 8.02 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.8543, allocations: 7.475 MB / 1.258 GB, free: 436 kB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002577/0.8569, allocations: 2.247 MB / 1.26 GB, free: 14.14 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004259/0.8573, allocations: 104.5 kB / 1.26 GB, free: 14.04 MB / 1.073 GB Notification: Performance of SimCode: time 4.539e-06/0.8573, allocations: 0 / 1.26 GB, free: 14.04 MB / 1.073 GB Notification: Performance of Templates: time 0.1114/0.9688, allocations: 155.3 MB / 1.412 GB, free: 2.688 MB / 1.214 GB " [Timeout remaining time 299] 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: 14.82516600098461]