Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.00136/0.00136, allocations: 79.73 kB / 19.76 MB, free: 2.031 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.001507/0.001507, allocations: 156.5 kB / 23.01 MB, free: 4.941 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.427/1.427, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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 2.748/2.748, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 177] 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.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [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.002152/0.002152, allocations: 66.09 kB / 0.982 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8636/0.8658, allocations: 176.1 MB / 1.154 GB, free: 33.35 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02286/0.8886, allocations: 25.58 MB / 1.179 GB, free: 17.39 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0118/0.9004, allocations: 8.085 MB / 1.187 GB, free: 12.05 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00194/0.9024, allocations: 154.7 kB / 1.187 GB, free: 11.97 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.006525/0.9089, allocations: 2.773 MB / 1.19 GB, free: 10.41 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003823/0.9127, allocations: 1.667 MB / 1.191 GB, free: 9.375 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003793/0.9165, allocations: 1.681 MB / 1.193 GB, free: 8.434 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.006866/0.9234, allocations: 6.137 MB / 1.199 GB, free: 5.629 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004617/0.928, allocations: 3.747 MB / 1.203 GB, free: 3.758 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004265/0.9322, allocations: 2.675 MB / 1.205 GB, free: 2.543 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004729/0.937, allocations: 2.825 MB / 1.208 GB, free: 1.469 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000951/0.9379, allocations: 0.509 MB / 1.208 GB, free: 1.469 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002985/0.9409, allocations: 1.205 MB / 1.21 GB, free: 1.207 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002473/0.9434, allocations: 2.102 MB / 1.212 GB, free: 316 kB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003362/0.9467, allocations: 1.928 MB / 1.214 GB, free: 15.23 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01158/0.9583, allocations: 8.11 MB / 1.221 GB, free: 12.66 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.9583, allocations: 1.344 kB / 1.221 GB, free: 12.66 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9583, allocations: 0 / 1.221 GB, free: 12.66 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002201/0.9586, allocations: 0 / 1.221 GB, free: 12.66 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01197/0.9705, allocations: 4.266 MB / 1.226 GB, free: 10.23 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.9706, allocations: 9.844 kB / 1.226 GB, free: 10.23 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005304/0.9759, allocations: 0.8322 MB / 1.226 GB, free: 9.977 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007503/0.9834, allocations: 2.527 MB / 1.229 GB, free: 8.688 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002891/0.9837, allocations: 274.3 kB / 1.229 GB, free: 8.562 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001473/0.9852, allocations: 378.9 kB / 1.23 GB, free: 8.434 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0118/0.997, allocations: 6.439 MB / 1.236 GB, free: 5.293 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001104/0.9971, allocations: 19.56 kB / 1.236 GB, free: 5.281 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000466/0.9975, allocations: 163.2 kB / 1.236 GB, free: 5.16 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006327/0.9982, allocations: 283 kB / 1.236 GB, free: 5.129 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009039/1.007, allocations: 4.516 MB / 1.241 GB, free: 3.555 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02981/1.037, allocations: 17.41 MB / 1.258 GB, free: 6.074 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/1.039, allocations: 1.056 MB / 1.259 GB, free: 5.512 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001624/1.04, allocations: 0.9508 MB / 1.26 GB, free: 5.035 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.565e-05/1.041, allocations: 10.56 kB / 1.26 GB, free: 5.031 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.738e-05/1.041, allocations: 49.92 kB / 1.26 GB, free: 4.98 MB / 1.107 GB Notification: Performance of pre-optimization done (n=110): time 4.027e-06/1.041, allocations: 0 / 1.26 GB, free: 4.98 MB / 1.107 GB Notification: Performance of matching and sorting (n=131): time 0.02365/1.064, allocations: 9.089 MB / 1.269 GB, free: 8 kB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/1.064, allocations: 65.34 kB / 1.269 GB, free: 15.94 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002426/1.067, allocations: 1.401 MB / 1.27 GB, free: 15.17 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002062/1.067, allocations: 50.98 kB / 1.27 GB, free: 15.12 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001447/1.068, allocations: 1.721 MB / 1.272 GB, free: 13.6 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005885/1.069, allocations: 0.4889 MB / 1.272 GB, free: 13.17 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006447/1.07, allocations: 329 kB / 1.273 GB, free: 12.98 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001504/1.07, allocations: 302.2 kB / 1.273 GB, free: 12.68 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/1.071, allocations: 0.9128 MB / 1.274 GB, free: 12.21 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002034/1.073, allocations: 1.464 MB / 1.275 GB, free: 11.03 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003714/1.077, allocations: 2.549 MB / 1.278 GB, free: 8.715 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.741e-05/1.077, allocations: 11.94 kB / 1.278 GB, free: 8.703 MB / 1.123 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006585/1.084, allocations: 3.255 MB / 1.281 GB, free: 5.41 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.793e-05/1.084, allocations: 17.34 kB / 1.281 GB, free: 5.395 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.259e-05/1.084, allocations: 23.94 kB / 1.281 GB, free: 5.371 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002406/1.086, allocations: 0.7457 MB / 1.282 GB, free: 4.598 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/1.088, allocations: 383.4 kB / 1.282 GB, free: 4.223 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01811/1.106, allocations: 15.81 MB / 1.297 GB, free: 3.492 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/1.108, allocations: 108 kB / 1.298 GB, free: 3.387 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003652/1.108, allocations: 76 kB / 1.298 GB, free: 3.312 MB / 1.139 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00299/1.111, allocations: 1.309 MB / 1.299 GB, free: 1.992 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000602/1.112, allocations: 198.8 kB / 1.299 GB, free: 1.797 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005564/1.117, allocations: 2.769 MB / 1.302 GB, free: 14.98 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/1.117, allocations: 12 kB / 1.302 GB, free: 14.97 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.313e-05/1.118, allocations: 12 kB / 1.302 GB, free: 14.96 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/1.118, allocations: 3.984 kB / 1.302 GB, free: 14.96 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01157/1.129, allocations: 5.334 MB / 1.307 GB, free: 9.484 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/1.129, allocations: 12.22 kB / 1.307 GB, free: 9.473 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/1.13, allocations: 231.7 kB / 1.307 GB, free: 9.246 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002139/1.133, allocations: 0.6593 MB / 1.308 GB, free: 8.559 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/1.133, allocations: 35.98 kB / 1.308 GB, free: 8.523 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0175/1.15, allocations: 15.57 MB / 1.323 GB, free: 8.031 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/1.15, allocations: 7.938 kB / 1.323 GB, free: 8.023 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007297/1.157, allocations: 3.981 MB / 1.327 GB, free: 3.934 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/1.159, allocations: 366.7 kB / 1.327 GB, free: 3.574 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000509/1.159, allocations: 43.83 kB / 1.327 GB, free: 3.531 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/1.16, allocations: 84.02 kB / 1.327 GB, free: 3.449 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003369/1.161, allocations: 116.7 kB / 1.328 GB, free: 3.332 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/1.161, allocations: 47.98 kB / 1.328 GB, free: 3.285 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001596/1.162, allocations: 0.901 MB / 1.329 GB, free: 2.391 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.162, allocations: 0 / 1.329 GB, free: 2.391 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003059/1.166, allocations: 0.6797 MB / 1.329 GB, free: 1.711 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002948/1.166, allocations: 155.5 kB / 1.329 GB, free: 1.551 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.005953/1.172, allocations: 3.381 MB / 1.333 GB, free: 14.05 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/1.172, allocations: 4 kB / 1.333 GB, free: 14.05 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.003638/1.175, allocations: 2.241 MB / 1.335 GB, free: 11.69 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005344/1.181, allocations: 0.6336 MB / 1.335 GB, free: 11.07 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/1.196, allocations: 6.634 MB / 1.342 GB, free: 4.348 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004315/1.201, allocations: 2.113 MB / 1.344 GB, free: 2.199 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001865/1.203, allocations: 472.4 kB / 1.344 GB, free: 1.734 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000455/1.203, allocations: 116.5 kB / 1.345 GB, free: 1.621 MB / 1.186 GB Notification: Performance of SimCode: time 1.222e-06/1.203, allocations: 3.938 kB / 1.345 GB, free: 1.617 MB / 1.186 GB Notification: Performance of Templates: time 0.06559/1.269, allocations: 33.71 MB / 1.377 GB, free: 0.6445 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: 9.97959942102898]