Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001563/0.001563, allocations: 114.8 kB / 17.08 MB, free: 5.969 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.001664/0.001664, allocations: 193.2 kB / 20.03 MB, free: 3.047 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.515/1.515, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.717/2.717, allocations: 437.1 MB / 0.7177 GB, free: 4.488 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 75.83 kB / 1.028 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3082, allocations: 151.6 MB / 1.176 GB, free: 5.832 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02841/0.3366, allocations: 22.6 MB / 1.198 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01258/0.3493, allocations: 6.233 MB / 1.204 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002319/0.3516, allocations: 95.5 kB / 1.204 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004788/0.3564, allocations: 1.539 MB / 1.206 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0048/0.3612, allocations: 1.625 MB / 1.207 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00399/0.3653, allocations: 1.341 MB / 1.209 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.008491/0.3738, allocations: 5.943 MB / 1.214 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009317/0.3831, allocations: 6.041 MB / 1.22 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004323/0.3875, allocations: 2.415 MB / 1.223 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005002/0.3925, allocations: 2.862 MB / 1.225 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001444/0.394, allocations: 460 kB / 1.226 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003093/0.3971, allocations: 1.104 MB / 1.227 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.003236/0.4003, allocations: 2.035 MB / 1.229 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.004532/0.4049, allocations: 2.159 MB / 1.231 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.4153, allocations: 7.324 MB / 1.238 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.4153, allocations: 0 / 1.238 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4153, allocations: 0 / 1.238 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001974/0.4155, allocations: 0 / 1.238 GB, free: 5.801 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.009004/0.4245, allocations: 3.913 MB / 1.242 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.4246, allocations: 8.031 kB / 1.242 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006462/0.4311, allocations: 1.227 MB / 1.243 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004975/0.4361, allocations: 2.357 MB / 1.245 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002366/0.4363, allocations: 238.4 kB / 1.246 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00101/0.4373, allocations: 315.9 kB / 1.246 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01333/0.4507, allocations: 6.212 MB / 1.252 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000138/0.4509, allocations: 11.89 kB / 1.252 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007765/0.4517, allocations: 144 kB / 1.252 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006533/0.4523, allocations: 410.2 kB / 1.253 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01048/0.4628, allocations: 4.658 MB / 1.257 GB, free: 1.934 MB / 0.9981 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.6562/1.119, allocations: 28.99 MB / 1.285 GB, free: 52.56 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002469/1.122, allocations: 1.42 MB / 1.287 GB, free: 52.04 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001929/1.123, allocations: 1.486 MB / 1.288 GB, free: 51.52 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/1.124, allocations: 16.09 kB / 1.288 GB, free: 51.51 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/1.124, allocations: 45.38 kB / 1.288 GB, free: 51.46 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=110): time 2.835e-06/1.124, allocations: 0 / 1.288 GB, free: 51.46 MB / 0.9981 GB Notification: Performance of matching and sorting (n=179): time 0.1473/1.271, allocations: 37.3 MB / 1.325 GB, free: 41.64 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/1.271, allocations: 73.16 kB / 1.325 GB, free: 41.57 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/1.273, allocations: 1.422 MB / 1.326 GB, free: 40.82 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003357/1.274, allocations: 57.55 kB / 1.326 GB, free: 40.76 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008403/1.274, allocations: 1.577 MB / 1.328 GB, free: 39.61 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007491/1.275, allocations: 0.642 MB / 1.328 GB, free: 39.11 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008386/1.276, allocations: 384.1 kB / 1.329 GB, free: 38.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.276e-05/1.276, allocations: 301.1 kB / 1.329 GB, free: 38.61 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002322/1.278, allocations: 1.793 MB / 1.331 GB, free: 37.67 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002299/1.281, allocations: 2.339 MB / 1.333 GB, free: 36.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004544/1.285, allocations: 4.388 MB / 1.337 GB, free: 32.73 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/1.285, allocations: 4 kB / 1.337 GB, free: 32.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.0159/1.301, allocations: 8.585 MB / 1.346 GB, free: 24.11 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/1.301, allocations: 16.25 kB / 1.346 GB, free: 24.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/1.301, allocations: 20 kB / 1.346 GB, free: 24.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01386/1.315, allocations: 4.634 MB / 1.35 GB, free: 19.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/1.316, allocations: 307.5 kB / 1.351 GB, free: 19.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04542/1.362, allocations: 32.62 MB / 1.383 GB, free: 1.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002446/1.364, allocations: 151.8 kB / 1.383 GB, free: 1.531 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004097/1.365, allocations: 84 kB / 1.383 GB, free: 1.449 MB / 1.014 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.00267/1.367, allocations: 1.334 MB / 1.384 GB, free: 108 kB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006588/1.368, allocations: 210.9 kB / 1.384 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01958/1.388, allocations: 8.441 MB / 1.392 GB, free: 7.414 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.339e-05/1.388, allocations: 16 kB / 1.393 GB, free: 7.398 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.663e-05/1.388, allocations: 24 kB / 1.393 GB, free: 7.375 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.372e-05/1.388, allocations: 7.969 kB / 1.393 GB, free: 7.367 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02845/1.416, allocations: 12.84 MB / 1.405 GB, free: 10.38 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.897e-05/1.416, allocations: 8 kB / 1.405 GB, free: 10.37 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008016/1.417, allocations: 163.7 kB / 1.405 GB, free: 10.21 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0156/1.433, allocations: 4.485 MB / 1.41 GB, free: 5.711 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003909/1.433, allocations: 43.94 kB / 1.41 GB, free: 5.668 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05204/1.485, allocations: 32.24 MB / 1.441 GB, free: 4.609 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.948e-06/1.485, allocations: 8 kB / 1.441 GB, free: 4.602 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01908/1.504, allocations: 8.249 MB / 1.449 GB, free: 12.22 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001729/1.506, allocations: 0.6245 MB / 1.45 GB, free: 11.58 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006704/1.507, allocations: 39.92 kB / 1.45 GB, free: 11.54 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001969/1.509, allocations: 139.8 kB / 1.45 GB, free: 11.4 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009287/1.51, allocations: 168.9 kB / 1.45 GB, free: 11.24 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002419/1.51, allocations: 52 kB / 1.45 GB, free: 11.19 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001839/1.512, allocations: 0.9548 MB / 1.451 GB, free: 10.24 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/1.512, allocations: 0 / 1.451 GB, free: 10.24 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.004151/1.516, allocations: 1.117 MB / 1.452 GB, free: 9.121 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.0004847/1.517, allocations: 151 kB / 1.452 GB, free: 8.965 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01467/1.531, allocations: 6.552 MB / 1.459 GB, free: 2.34 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-05/1.531, allocations: 4 kB / 1.459 GB, free: 2.336 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.01092/1.542, allocations: 4.392 MB / 1.463 GB, free: 13.88 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003583/1.546, allocations: 0.5123 MB / 1.464 GB, free: 13.39 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01603/1.562, allocations: 7.418 MB / 1.471 GB, free: 5.863 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004772/1.567, allocations: 2.801 MB / 1.474 GB, free: 3.027 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004647/1.567, allocations: 107.4 kB / 1.474 GB, free: 2.926 MB / 1.107 GB Notification: Performance of SimCode: time 1.082e-06/1.567, allocations: 0 / 1.474 GB, free: 2.926 MB / 1.107 GB Notification: Performance of Templates: time 0.2117/1.779, allocations: 154.2 MB / 1.624 GB, free: 8.613 MB / 1.264 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 19.749831140972674]