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.001472/0.001472, allocations: 80.84 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.001641/0.001641, allocations: 160.5 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.457/1.457, allocations: 177.1 MB / 202.8 MB, free: 9.164 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.895/2.895, allocations: 389 MB / 0.633 GB, free: 0.9805 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_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.353e-06/1.353e-06, allocations: 0 / 1 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.434e-05, allocations: 2.281 kB / 1 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02826/0.02828, allocations: 21.15 MB / 1.021 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01238/0.04066, allocations: 6.119 MB / 1.027 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00189/0.04255, allocations: 127 kB / 1.027 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004813/0.04736, allocations: 1.573 MB / 1.028 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004399/0.05176, allocations: 1.768 MB / 1.03 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003584/0.05535, allocations: 1.353 MB / 1.031 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007833/0.06318, allocations: 6.048 MB / 1.037 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005337/0.06852, allocations: 3.194 MB / 1.041 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006217/0.07474, allocations: 3.438 MB / 1.044 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004772/0.07951, allocations: 2.778 MB / 1.047 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009276/0.08043, allocations: 456 kB / 1.047 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002431/0.08286, allocations: 1.057 MB / 1.048 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002768/0.08563, allocations: 2.186 MB / 1.05 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002719/0.08835, allocations: 1.505 MB / 1.052 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009202/0.09755, allocations: 7.433 MB / 1.059 GB, free: 10.86 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.09756, allocations: 0 / 1.059 GB, free: 10.86 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.683e-06/0.09756, allocations: 4 kB / 1.059 GB, free: 10.85 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.000203/0.09777, allocations: 0 / 1.059 GB, free: 10.85 MB / 1.014 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.009099/0.1069, allocations: 3.802 MB / 1.063 GB, free: 7 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/0.1069, allocations: 8.031 kB / 1.063 GB, free: 6.992 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006882/0.1138, allocations: 1.239 MB / 1.064 GB, free: 5.75 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005101/0.1189, allocations: 2.301 MB / 1.066 GB, free: 3.395 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002327/0.1191, allocations: 246.3 kB / 1.066 GB, free: 3.152 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007742/0.1199, allocations: 319.9 kB / 1.067 GB, free: 2.84 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0116/0.1315, allocations: 6.438 MB / 1.073 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.033e-05/0.1316, allocations: 15.88 kB / 1.073 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004113/0.132, allocations: 136 kB / 1.073 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000562/0.1326, allocations: 410.3 kB / 1.073 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008577/0.1411, allocations: 4.654 MB / 1.078 GB, free: 6.875 MB / 1.029 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.02832/0.1695, allocations: 18.05 MB / 1.096 GB, free: 4.328 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002186/0.1717, allocations: 1.373 MB / 1.097 GB, free: 2.945 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002079/0.1737, allocations: 1.44 MB / 1.098 GB, free: 1.504 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-05/0.1738, allocations: 13 kB / 1.098 GB, free: 1.488 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/0.1739, allocations: 43.56 kB / 1.098 GB, free: 1.438 MB / 1.045 GB Notification: Performance of pre-optimization done (n=110): time 3.066e-06/0.1739, allocations: 0 / 1.098 GB, free: 1.438 MB / 1.045 GB Notification: Performance of matching and sorting (n=179): time 0.6191/0.793, allocations: 37.06 MB / 1.135 GB, free: 160.2 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.7931, allocations: 72.25 kB / 1.135 GB, free: 160.1 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.7946, allocations: 1.362 MB / 1.136 GB, free: 159.6 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000287/0.7949, allocations: 51.27 kB / 1.136 GB, free: 159.6 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007286/0.7956, allocations: 1.586 MB / 1.138 GB, free: 159.1 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004403/0.7961, allocations: 0.6322 MB / 1.138 GB, free: 158.7 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000669/0.7967, allocations: 377.8 kB / 1.139 GB, free: 158.5 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.125e-05/0.7968, allocations: 311.1 kB / 1.139 GB, free: 158.2 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002058/0.7988, allocations: 1.79 MB / 1.141 GB, free: 157.6 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00235/0.8012, allocations: 2.349 MB / 1.143 GB, free: 156.3 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004802/0.806, allocations: 4.386 MB / 1.147 GB, free: 154.1 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/0.806, allocations: 2.875 kB / 1.147 GB, free: 154.1 MB / 1.076 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01665/0.8227, allocations: 8.422 MB / 1.155 GB, free: 151.6 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/0.8227, allocations: 17.06 kB / 1.155 GB, free: 151.6 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.819e-05/0.8227, allocations: 16.03 kB / 1.155 GB, free: 151.6 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01527/0.838, allocations: 4.614 MB / 1.16 GB, free: 150.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.8394, allocations: 304.1 kB / 1.16 GB, free: 150.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04729/0.8867, allocations: 31.41 MB / 1.191 GB, free: 135.1 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002269/0.889, allocations: 155.3 kB / 1.191 GB, free: 135.1 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002257/0.8892, allocations: 81.92 kB / 1.191 GB, free: 135.1 MB / 1.076 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.002293/0.8915, allocations: 1.334 MB / 1.192 GB, free: 134.5 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004484/0.8919, allocations: 198.3 kB / 1.193 GB, free: 134.4 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01812/0.9101, allocations: 8.298 MB / 1.201 GB, free: 131.8 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.327e-05/0.9101, allocations: 21.31 kB / 1.201 GB, free: 131.8 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.467e-05/0.9102, allocations: 28.59 kB / 1.201 GB, free: 131.8 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.02e-05/0.9102, allocations: 8.219 kB / 1.201 GB, free: 131.8 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02271/0.9329, allocations: 11.64 MB / 1.212 GB, free: 126.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.901e-05/0.9329, allocations: 11.22 kB / 1.212 GB, free: 126.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007396/0.9337, allocations: 164.6 kB / 1.212 GB, free: 126.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01449/0.9481, allocations: 4.467 MB / 1.217 GB, free: 123.9 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003483/0.9485, allocations: 39.77 kB / 1.217 GB, free: 123.9 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03802/0.9865, allocations: 31.02 MB / 1.247 GB, free: 97.66 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.9865, allocations: 11.94 kB / 1.247 GB, free: 97.64 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01519/1.002, allocations: 8.081 MB / 1.255 GB, free: 89.44 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001389/1.003, allocations: 0.5414 MB / 1.255 GB, free: 88.9 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003525/1.003, allocations: 40.94 kB / 1.256 GB, free: 88.86 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001589/1.005, allocations: 147.7 kB / 1.256 GB, free: 88.72 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007971/1.006, allocations: 180.8 kB / 1.256 GB, free: 88.54 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001496/1.006, allocations: 50.72 kB / 1.256 GB, free: 88.49 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009959/1.007, allocations: 0.8976 MB / 1.257 GB, free: 87.6 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/1.007, allocations: 0 / 1.257 GB, free: 87.6 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003021/1.01, allocations: 1.109 MB / 1.258 GB, free: 86.49 MB / 1.076 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.0002892/1.01, allocations: 159.1 kB / 1.258 GB, free: 86.33 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0113/1.022, allocations: 6.288 MB / 1.264 GB, free: 79.99 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/1.022, allocations: 0 / 1.264 GB, free: 79.99 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.008459/1.03, allocations: 4.182 MB / 1.268 GB, free: 75.74 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002529/1.033, allocations: 0.5058 MB / 1.269 GB, free: 75.27 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009319/1.042, allocations: 6.988 MB / 1.276 GB, free: 68.21 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002091/1.044, allocations: 2.165 MB / 1.278 GB, free: 66 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0009213/1.045, allocations: 379.7 kB / 1.278 GB, free: 65.62 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/1.045, allocations: 92.5 kB / 1.278 GB, free: 65.54 MB / 1.076 GB Notification: Performance of SimCode: time 9.32e-07/1.045, allocations: 0 / 1.278 GB, free: 65.54 MB / 1.076 GB Notification: Performance of Templates: time 0.07147/1.117, allocations: 63.52 MB / 1.34 GB, free: 2.426 MB / 1.076 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.353034108877182]