Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001875/0.001875, allocations: 85.28 kB / 19.43 MB, free: 1.98 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.002268/0.002268, allocations: 171.8 kB / 22.75 MB, free: 4.773 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.462/1.462, allocations: 177.1 MB / 203.1 MB, free: 9.066 MB / 190.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.184/3.184, allocations: 429.5 MB / 0.6729 GB, free: 8.711 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 14.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_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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0.5469 kB / 0.8776 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.558e-05, allocations: 3.625 kB / 0.8776 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02735/0.02737, allocations: 21.16 MB / 0.8982 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01224/0.03961, allocations: 6.129 MB / 0.9042 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001974/0.04158, allocations: 127.1 kB / 0.9043 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004714/0.0463, allocations: 1.566 MB / 0.9059 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004572/0.05087, allocations: 1.776 MB / 0.9076 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003572/0.05444, allocations: 1.348 MB / 0.9089 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007867/0.06231, allocations: 6.048 MB / 0.9148 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006288/0.06859, allocations: 3.205 MB / 0.918 GB, free: 7.141 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006829/0.07542, allocations: 3.438 MB / 0.9213 GB, free: 3.695 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00552/0.08094, allocations: 2.782 MB / 0.924 GB, free: 0.9062 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001376/0.08232, allocations: 456 kB / 0.9245 GB, free: 472 kB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003246/0.08556, allocations: 1.049 MB / 0.9255 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.003582/0.08915, allocations: 2.19 MB / 0.9276 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003582/0.09273, allocations: 1.501 MB / 0.9291 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01129/0.104, allocations: 7.437 MB / 0.9364 GB, free: 4.254 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/0.104, allocations: 3.938 kB / 0.9364 GB, free: 4.25 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.984e-06/0.104, allocations: 0 / 0.9364 GB, free: 4.25 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.000253/0.1043, allocations: 0 / 0.9364 GB, free: 4.25 MB / 0.8887 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.01099/0.1153, allocations: 3.791 MB / 0.9401 GB, free: 420 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1153, allocations: 8.031 kB / 0.9401 GB, free: 412 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008337/0.1236, allocations: 1.703 MB / 0.9417 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005532/0.1292, allocations: 2.422 MB / 0.9441 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002527/0.1294, allocations: 246.3 kB / 0.9443 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009662/0.1304, allocations: 315.9 kB / 0.9446 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01238/0.1428, allocations: 6.442 MB / 0.9509 GB, free: 4.922 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000102/0.1429, allocations: 15.89 kB / 0.9509 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005361/0.1434, allocations: 136 kB / 0.9511 GB, free: 4.773 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005845/0.144, allocations: 414.3 kB / 0.9515 GB, free: 4.367 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008987/0.153, allocations: 4.654 MB / 0.956 GB, free: 15.7 MB / 0.92 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.0302/0.1832, allocations: 18.16 MB / 0.9737 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002556/0.1857, allocations: 1.37 MB / 0.9751 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002308/0.188, allocations: 1.437 MB / 0.9765 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00014/0.1882, allocations: 17 kB / 0.9765 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/0.1882, allocations: 43.56 kB / 0.9765 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=110): time 3.587e-06/0.1882, allocations: 4 kB / 0.9765 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=179): time 0.1584/0.3466, allocations: 37.11 MB / 1.013 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/0.3467, allocations: 69.41 kB / 1.013 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/0.3489, allocations: 1.36 MB / 1.014 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002859/0.3492, allocations: 57.7 kB / 1.014 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001268/0.3505, allocations: 1.578 MB / 1.016 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007627/0.3512, allocations: 0.6351 MB / 1.016 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009067/0.3521, allocations: 379.5 kB / 1.017 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3523, allocations: 309 kB / 1.017 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002975/0.3552, allocations: 1.784 MB / 1.019 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003697/0.3589, allocations: 2.358 MB / 1.021 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00678/0.3657, allocations: 4.383 MB / 1.025 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.035e-05/0.3657, allocations: 4 kB / 1.025 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.02068/0.3864, allocations: 8.51 MB / 1.034 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.498e-05/0.3865, allocations: 16 kB / 1.034 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-05/0.3865, allocations: 20.12 kB / 1.034 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0172/0.4037, allocations: 4.774 MB / 1.038 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.405, allocations: 303.4 kB / 1.039 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05457/0.4596, allocations: 31.54 MB / 1.069 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/0.4617, allocations: 147.8 kB / 1.07 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003066/0.462, allocations: 87.98 kB / 1.07 GB, free: 9.461 MB / 1.029 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.002344/0.4644, allocations: 1.328 MB / 1.071 GB, free: 8.121 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006565/0.465, allocations: 254.8 kB / 1.071 GB, free: 7.871 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02037/0.4854, allocations: 8.285 MB / 1.079 GB, free: 15.54 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.546e-05/0.4854, allocations: 27.94 kB / 1.079 GB, free: 15.51 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.11e-05/0.4855, allocations: 24 kB / 1.079 GB, free: 15.48 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-05/0.4855, allocations: 11.95 kB / 1.079 GB, free: 15.47 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02784/0.5134, allocations: 11.65 MB / 1.091 GB, free: 3.676 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-05/0.5134, allocations: 4 kB / 1.091 GB, free: 3.672 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007916/0.5142, allocations: 163.8 kB / 1.091 GB, free: 3.512 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01738/0.5316, allocations: 4.629 MB / 1.095 GB, free: 14.87 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002997/0.5319, allocations: 36 kB / 1.095 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05437/0.5862, allocations: 31.14 MB / 1.126 GB, free: 15.05 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/0.5862, allocations: 11.94 kB / 1.126 GB, free: 15.04 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01957/0.6058, allocations: 8.128 MB / 1.134 GB, free: 6.785 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001566/0.6074, allocations: 0.5492 MB / 1.134 GB, free: 6.238 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004129/0.6078, allocations: 35.98 kB / 1.134 GB, free: 6.203 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001659/0.6095, allocations: 139.8 kB / 1.135 GB, free: 6.066 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008623/0.6103, allocations: 184.7 kB / 1.135 GB, free: 5.887 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000166/0.6105, allocations: 48 kB / 1.135 GB, free: 5.84 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001487/0.612, allocations: 0.8976 MB / 1.136 GB, free: 4.945 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.11e-07/0.612, allocations: 0 / 1.136 GB, free: 4.945 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003446/0.6154, allocations: 1.121 MB / 1.137 GB, free: 3.824 MB / 1.092 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.0003222/0.6157, allocations: 147 kB / 1.137 GB, free: 3.672 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.3638/0.9795, allocations: 6.298 MB / 1.143 GB, free: 288.2 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/0.9795, allocations: 2.812 kB / 1.143 GB, free: 288.2 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.008573/0.9881, allocations: 4.183 MB / 1.147 GB, free: 287.4 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/0.9905, allocations: 0.5178 MB / 1.148 GB, free: 287.3 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009661/1, allocations: 7.065 MB / 1.155 GB, free: 285 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002396/1.003, allocations: 2.173 MB / 1.157 GB, free: 284.7 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.000975/1.004, allocations: 380.3 kB / 1.157 GB, free: 284.7 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/1.004, allocations: 91.19 kB / 1.157 GB, free: 284.7 MB / 1.092 GB Notification: Performance of SimCode: time 1.312e-06/1.004, allocations: 3.406 kB / 1.157 GB, free: 284.7 MB / 1.092 GB Notification: Performance of Templates: time 0.08159/1.085, allocations: 63.69 MB / 1.219 GB, free: 256.4 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.07443593814969]