Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.001775/0.001775, allocations: 80.92 kB / 19.18 MB, free: 2.516 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.001842/0.001842, allocations: 162.9 kB / 22.46 MB, free: 5.375 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.443/1.443, allocations: 177.1 MB / 202.8 MB, free: 9.172 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 2.89/2.89, allocations: 389 MB / 0.633 GB, free: 1.004 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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_RLC,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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.463e-05/3.681e-05, allocations: 2.281 kB / 1 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01419/0.01423, allocations: 9.502 MB / 1.009 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006179/0.02041, allocations: 2.994 MB / 1.012 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009252/0.02133, allocations: 51.62 kB / 1.012 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002375/0.02371, allocations: 0.6936 MB / 1.013 GB, free: 10 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002025/0.02573, allocations: 0.7304 MB / 1.014 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.02761, allocations: 0.6495 MB / 1.014 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00374/0.03135, allocations: 2.784 MB / 1.017 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002506/0.03386, allocations: 1.371 MB / 1.018 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003323/0.03718, allocations: 1.583 MB / 1.02 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002696/0.03988, allocations: 1.364 MB / 1.021 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0006744/0.04055, allocations: 220 kB / 1.022 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.04206, allocations: 463.3 kB / 1.022 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001724/0.04379, allocations: 1.056 MB / 1.023 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001792/0.04558, allocations: 0.7134 MB / 1.024 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004654/0.05023, allocations: 3.487 MB / 1.027 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.05024, allocations: 4 kB / 1.027 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.024e-06/0.05024, allocations: 0 / 1.027 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.272e-05/0.05031, allocations: 0 / 1.027 GB, free: 11.52 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.004043/0.05435, allocations: 1.897 MB / 1.029 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.05439, allocations: 12.02 kB / 1.029 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006232/0.06063, allocations: 0.9127 MB / 1.03 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002565/0.06319, allocations: 1.131 MB / 1.031 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.0633, allocations: 115.3 kB / 1.031 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002924/0.06359, allocations: 136.4 kB / 1.031 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005079/0.06867, allocations: 3.093 MB / 1.034 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.775e-05/0.06871, allocations: 8.125 kB / 1.034 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002024/0.06891, allocations: 60.36 kB / 1.034 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002639/0.06917, allocations: 178.9 kB / 1.035 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004499/0.07367, allocations: 2.612 MB / 1.037 GB, free: 1.176 MB / 0.9825 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.01554/0.08921, allocations: 9.026 MB / 1.046 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002088/0.0913, allocations: 1.217 MB / 1.047 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001492/0.09279, allocations: 0.9878 MB / 1.048 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.244e-05/0.09285, allocations: 8.656 kB / 1.048 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.09289, allocations: 43.22 kB / 1.048 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.735e-06/0.09289, allocations: 0 / 1.048 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of matching and sorting (n=139): time 0.08133/0.1742, allocations: 18.88 MB / 1.067 GB, free: 2.734 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/0.1743, allocations: 64.72 kB / 1.067 GB, free: 2.66 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/0.1757, allocations: 0.9025 MB / 1.067 GB, free: 1.746 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002347/0.1759, allocations: 45.7 kB / 1.067 GB, free: 1.695 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005981/0.1765, allocations: 0.754 MB / 1.068 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005094/0.177, allocations: 0.4919 MB / 1.069 GB, free: 444 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006104/0.1776, allocations: 299.5 kB / 1.069 GB, free: 136 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.1778, allocations: 353.9 kB / 1.069 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00211/0.1799, allocations: 1.335 MB / 1.071 GB, free: 14.45 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002382/0.1823, allocations: 1.655 MB / 1.072 GB, free: 12.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004642/0.1869, allocations: 3.096 MB / 1.075 GB, free: 9.465 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.1869, allocations: 0 / 1.075 GB, free: 9.465 MB / 1.029 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01314/0.2001, allocations: 5.555 MB / 1.081 GB, free: 3.883 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.2001, allocations: 11.94 kB / 1.081 GB, free: 3.871 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.2001, allocations: 12 kB / 1.081 GB, free: 3.859 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009989/0.2101, allocations: 2.715 MB / 1.083 GB, free: 1.133 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009298/0.2111, allocations: 187.7 kB / 1.084 GB, free: 0.9492 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04004/0.2511, allocations: 24.83 MB / 1.108 GB, free: 7.699 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.2526, allocations: 95.95 kB / 1.108 GB, free: 7.605 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001648/0.2528, allocations: 56 kB / 1.108 GB, free: 7.551 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001218/0.254, allocations: 0.7359 MB / 1.109 GB, free: 6.805 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000256/0.2543, allocations: 119.3 kB / 1.109 GB, free: 6.688 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01265/0.2669, allocations: 5.318 MB / 1.114 GB, free: 1.34 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.2669, allocations: 12 kB / 1.114 GB, free: 1.328 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.667e-05/0.267, allocations: 20 kB / 1.114 GB, free: 1.309 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.976e-05/0.267, allocations: 15.91 kB / 1.114 GB, free: 1.293 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01738/0.2844, allocations: 7.959 MB / 1.122 GB, free: 9.227 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.2844, allocations: 4 kB / 1.122 GB, free: 9.223 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005078/0.2849, allocations: 111.9 kB / 1.122 GB, free: 9.113 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009556/0.2944, allocations: 2.599 MB / 1.124 GB, free: 6.504 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/0.2946, allocations: 24 kB / 1.124 GB, free: 6.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5661/0.8607, allocations: 23.3 MB / 1.147 GB, free: 155.7 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.8607, allocations: 8.656 kB / 1.147 GB, free: 155.6 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01032/0.871, allocations: 5.163 MB / 1.152 GB, free: 154 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/0.872, allocations: 426.6 kB / 1.153 GB, free: 153.9 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002526/0.8723, allocations: 25 kB / 1.153 GB, free: 153.9 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009896/0.8733, allocations: 82.66 kB / 1.153 GB, free: 153.9 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005561/0.8738, allocations: 127.6 kB / 1.153 GB, free: 153.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/0.8739, allocations: 37.06 kB / 1.153 GB, free: 153.8 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006738/0.8746, allocations: 0.6237 MB / 1.154 GB, free: 153.6 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.8746, allocations: 3.938 kB / 1.154 GB, free: 153.6 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002105/0.8767, allocations: 0.7221 MB / 1.154 GB, free: 153.5 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000246/0.8769, allocations: 134.8 kB / 1.154 GB, free: 153.4 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00629/0.8832, allocations: 4.077 MB / 1.158 GB, free: 151.7 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.8832, allocations: 0 / 1.158 GB, free: 151.7 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.005521/0.8888, allocations: 2.6 MB / 1.161 GB, free: 150.6 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.8901, allocations: 220.6 kB / 1.161 GB, free: 150.5 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006331/0.8964, allocations: 4.058 MB / 1.165 GB, free: 148.8 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00143/0.8978, allocations: 1.112 MB / 1.166 GB, free: 148.5 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008028/0.8986, allocations: 327.8 kB / 1.166 GB, free: 148.5 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.8988, allocations: 57.47 kB / 1.167 GB, free: 148.5 MB / 1.076 GB Notification: Performance of SimCode: time 1.102e-06/0.8988, allocations: 0 / 1.167 GB, free: 148.5 MB / 1.076 GB Notification: Performance of Templates: time 0.0608/0.9596, allocations: 41.82 MB / 1.207 GB, free: 138.4 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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: 9.601860996335745]