Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.001712/0.001712, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002117/0.002117, allocations: 222.1 kB / 23 MB, free: 4.91 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.257/3.257, allocations: 0.4892 GB / 0.7951 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,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_N") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 68.34 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3799, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.03152/0.4114, allocations: 22.26 MB / 1.348 GB, free: 11.54 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01371/0.4251, allocations: 6.442 MB / 1.354 GB, free: 5.074 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002416/0.4275, allocations: 127.1 kB / 1.354 GB, free: 4.949 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004976/0.4325, allocations: 1.511 MB / 1.356 GB, free: 3.434 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005502/0.438, allocations: 1.937 MB / 1.358 GB, free: 1.488 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004668/0.4427, allocations: 1.465 MB / 1.359 GB, free: 24 kB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01028/0.453, allocations: 6.916 MB / 1.366 GB, free: 9.082 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008904/0.4619, allocations: 3.726 MB / 1.37 GB, free: 5.258 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00624/0.4681, allocations: 2.933 MB / 1.372 GB, free: 2.316 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006945/0.475, allocations: 3.563 MB / 1.376 GB, free: 14.74 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.002009/0.4771, allocations: 0.5273 MB / 1.376 GB, free: 14.21 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004116/0.4812, allocations: 1.112 MB / 1.378 GB, free: 13.1 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.004974/0.4861, allocations: 2.529 MB / 1.38 GB, free: 10.57 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.005982/0.4921, allocations: 2.047 MB / 1.382 GB, free: 8.512 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01473/0.5069, allocations: 8.593 MB / 1.39 GB, free: 15.89 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.5069, allocations: 0 / 1.39 GB, free: 15.89 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.825e-06/0.5069, allocations: 0 / 1.39 GB, free: 15.89 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0003702/0.5072, allocations: 4 kB / 1.39 GB, free: 15.89 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01544/0.5227, allocations: 4.468 MB / 1.395 GB, free: 11.36 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.5227, allocations: 12.02 kB / 1.395 GB, free: 11.35 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01019/0.5329, allocations: 1.703 MB / 1.396 GB, free: 9.645 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007125/0.5401, allocations: 2.668 MB / 1.399 GB, free: 6.934 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003456/0.5404, allocations: 275.7 kB / 1.399 GB, free: 6.664 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001621/0.542, allocations: 364.2 kB / 1.4 GB, free: 6.309 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01718/0.5592, allocations: 7.717 MB / 1.407 GB, free: 14.27 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001012/0.5593, allocations: 11.88 kB / 1.407 GB, free: 14.25 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006584/0.56, allocations: 167.9 kB / 1.407 GB, free: 14.09 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006911/0.5607, allocations: 479.4 kB / 1.408 GB, free: 13.62 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01268/0.5733, allocations: 5.697 MB / 1.413 GB, free: 7.918 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0443/0.6176, allocations: 19.96 MB / 1.433 GB, free: 3.5 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00383/0.6215, allocations: 2.018 MB / 1.435 GB, free: 1.473 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003571/0.625, allocations: 2.1 MB / 1.437 GB, free: 15.38 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001604/0.6252, allocations: 17.31 kB / 1.437 GB, free: 15.36 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.996e-05/0.6253, allocations: 55.81 kB / 1.437 GB, free: 15.29 MB / 1.139 GB Notification: Performance of pre-optimization done (n=146): time 4.127e-06/0.6253, allocations: 0 / 1.437 GB, free: 15.29 MB / 1.139 GB Notification: Performance of matching and sorting (n=251): time 0.3212/0.9465, allocations: 76.7 MB / 1.512 GB, free: 2.465 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.37e-05/0.9466, allocations: 81.39 kB / 1.512 GB, free: 2.371 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003266/0.9498, allocations: 1.606 MB / 1.514 GB, free: 0.7656 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0005205/0.9504, allocations: 65.7 kB / 1.514 GB, free: 0.6953 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001614/0.952, allocations: 1.807 MB / 1.515 GB, free: 14.87 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.00146/0.9534, allocations: 0.9024 MB / 1.516 GB, free: 13.96 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001451/0.9549, allocations: 481.4 kB / 1.517 GB, free: 13.48 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.9551, allocations: 312.9 kB / 1.517 GB, free: 13.18 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004528/0.9596, allocations: 2.73 MB / 1.52 GB, free: 10.45 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005221/0.9648, allocations: 3.328 MB / 1.523 GB, free: 6.871 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01066/0.9755, allocations: 6.393 MB / 1.529 GB, free: 240 kB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.723e-05/0.9755, allocations: 4 kB / 1.529 GB, free: 236 kB / 1.217 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03748/1.013, allocations: 14.41 MB / 1.543 GB, free: 1.773 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.248e-05/1.013, allocations: 12 kB / 1.543 GB, free: 1.762 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.237e-05/1.013, allocations: 16 kB / 1.543 GB, free: 1.746 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03187/1.045, allocations: 9.196 MB / 1.552 GB, free: 8.523 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/1.046, allocations: 299.5 kB / 1.553 GB, free: 8.23 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09415/1.14, allocations: 50.85 MB / 1.602 GB, free: 4.719 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003234/1.144, allocations: 219.7 kB / 1.602 GB, free: 4.504 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005991/1.144, allocations: 104 kB / 1.603 GB, free: 4.402 MB / 1.295 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003784/1.148, allocations: 1.584 MB / 1.604 GB, free: 2.809 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008386/1.149, allocations: 246.7 kB / 1.604 GB, free: 2.566 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.8474/1.996, allocations: 14.46 MB / 1.618 GB, free: 259.3 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.784e-05/1.996, allocations: 28.03 kB / 1.618 GB, free: 259.3 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003283/1.997, allocations: 48.75 kB / 1.618 GB, free: 259.3 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.246e-05/1.997, allocations: 13.19 kB / 1.619 GB, free: 259.3 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04657/2.043, allocations: 18.93 MB / 1.637 GB, free: 253.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.614e-05/2.043, allocations: 7.625 kB / 1.637 GB, free: 253.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009027/2.044, allocations: 162.8 kB / 1.637 GB, free: 253.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02938/2.074, allocations: 8.972 MB / 1.646 GB, free: 250.6 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005969/2.074, allocations: 50.47 kB / 1.646 GB, free: 250.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06506/2.139, allocations: 50.41 MB / 1.695 GB, free: 206 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/2.139, allocations: 8 kB / 1.695 GB, free: 206 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02765/2.167, allocations: 14.08 MB / 1.709 GB, free: 191.8 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002908/2.17, allocations: 0.7728 MB / 1.71 GB, free: 191 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006339/2.171, allocations: 48.56 kB / 1.71 GB, free: 191 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002223/2.173, allocations: 211.7 kB / 1.71 GB, free: 190.8 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00134/2.174, allocations: 253.3 kB / 1.71 GB, free: 190.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001958/2.174, allocations: 64 kB / 1.71 GB, free: 190.4 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001269/2.176, allocations: 1.064 MB / 1.711 GB, free: 189.4 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/2.176, allocations: 0.6562 kB / 1.711 GB, free: 189.4 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004753/2.18, allocations: 1.617 MB / 1.713 GB, free: 187.8 MB / 1.295 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004093/2.181, allocations: 162.5 kB / 1.713 GB, free: 187.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01964/2.2, allocations: 10.21 MB / 1.723 GB, free: 177.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-05/2.2, allocations: 0.875 kB / 1.723 GB, free: 177.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01616/2.217, allocations: 7.007 MB / 1.73 GB, free: 170.3 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002967/2.22, allocations: 0.5447 MB / 1.73 GB, free: 169.8 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01388/2.233, allocations: 9.555 MB / 1.74 GB, free: 160.2 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003234/2.237, allocations: 2.747 MB / 1.742 GB, free: 157.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004333/2.237, allocations: 103.4 kB / 1.742 GB, free: 157.3 MB / 1.295 GB Notification: Performance of SimCode: time 1.152e-06/2.237, allocations: 0 / 1.742 GB, free: 157.3 MB / 1.295 GB Notification: Performance of Templates: time 0.1606/2.398, allocations: 189.3 MB / 1.927 GB, free: 15.9 MB / 1.342 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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: 23.939454148057848]