Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001653/0.001653, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.001794/0.001794, allocations: 215 kB / 23.04 MB, free: 4.867 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.524/1.524, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.254/3.254, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.ACLine_RL_N,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_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,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_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.002068/0.002068, allocations: 66.52 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.3959, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02592/0.4219, allocations: 19.52 MB / 1.346 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01278/0.4346, allocations: 6.481 MB / 1.353 GB, free: 6.914 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002329/0.437, allocations: 115.1 kB / 1.353 GB, free: 6.801 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.006447/0.4434, allocations: 2.249 MB / 1.355 GB, free: 4.547 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004073/0.4475, allocations: 1.244 MB / 1.356 GB, free: 3.297 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003898/0.4514, allocations: 1.293 MB / 1.357 GB, free: 2.008 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.006981/0.4584, allocations: 4.843 MB / 1.362 GB, free: 13.15 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00539/0.4638, allocations: 3.143 MB / 1.365 GB, free: 9.934 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003908/0.4677, allocations: 2.166 MB / 1.367 GB, free: 7.762 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004468/0.4721, allocations: 2.332 MB / 1.37 GB, free: 5.422 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001079/0.4732, allocations: 432 kB / 1.37 GB, free: 5 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002606/0.4758, allocations: 0.944 MB / 1.371 GB, free: 4.055 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002279/0.4781, allocations: 1.707 MB / 1.373 GB, free: 2.344 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.003106/0.4812, allocations: 1.549 MB / 1.374 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.008918/0.4901, allocations: 6.569 MB / 1.38 GB, free: 10.2 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.4901, allocations: 0 / 1.38 GB, free: 10.2 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.385e-06/0.4901, allocations: 0 / 1.38 GB, free: 10.2 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002058/0.4903, allocations: 4 kB / 1.38 GB, free: 10.2 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009753/0.5001, allocations: 3.462 MB / 1.384 GB, free: 6.684 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.5001, allocations: 8.031 kB / 1.384 GB, free: 6.676 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003815/0.504, allocations: 0.6624 MB / 1.385 GB, free: 6.012 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004835/0.5088, allocations: 2.001 MB / 1.386 GB, free: 3.957 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002153/0.509, allocations: 226.3 kB / 1.387 GB, free: 3.734 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008703/0.5099, allocations: 300.2 kB / 1.387 GB, free: 3.441 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01054/0.5204, allocations: 5.241 MB / 1.392 GB, free: 13.91 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001027/0.5205, allocations: 7.938 kB / 1.392 GB, free: 13.9 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003622/0.5209, allocations: 132 kB / 1.392 GB, free: 13.77 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004765/0.5214, allocations: 225.7 kB / 1.392 GB, free: 13.55 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007124/0.5285, allocations: 3.742 MB / 1.396 GB, free: 9.797 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02019/0.5487, allocations: 13.09 MB / 1.409 GB, free: 12.37 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.5505, allocations: 1.232 MB / 1.41 GB, free: 11.12 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001443/0.552, allocations: 0.999 MB / 1.411 GB, free: 10.12 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 6.354e-05/0.552, allocations: 17 kB / 1.411 GB, free: 10.11 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.613e-05/0.5521, allocations: 43.56 kB / 1.411 GB, free: 10.06 MB / 1.107 GB Notification: Performance of pre-optimization done (n=107): time 3.687e-06/0.5521, allocations: 0 / 1.411 GB, free: 10.06 MB / 1.107 GB Notification: Performance of matching and sorting (n=138): time 0.02468/0.5768, allocations: 8.424 MB / 1.419 GB, free: 1.633 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.5768, allocations: 64.72 kB / 1.419 GB, free: 1.559 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/0.5784, allocations: 1.063 MB / 1.42 GB, free: 496 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001431/0.5786, allocations: 53.7 kB / 1.42 GB, free: 436 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001027/0.5796, allocations: 1.347 MB / 1.422 GB, free: 15.06 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005167/0.5801, allocations: 0.4918 MB / 1.422 GB, free: 14.57 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004905/0.5806, allocations: 291.5 kB / 1.423 GB, free: 14.27 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.5808, allocations: 308.9 kB / 1.423 GB, free: 13.97 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/0.5821, allocations: 0.9174 MB / 1.424 GB, free: 13.05 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/0.5838, allocations: 1.322 MB / 1.425 GB, free: 11.57 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003296/0.5871, allocations: 2.426 MB / 1.427 GB, free: 8.969 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.5871, allocations: 4 kB / 1.427 GB, free: 8.965 MB / 1.123 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006401/0.5935, allocations: 3.425 MB / 1.431 GB, free: 5.52 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.5935, allocations: 8 kB / 1.431 GB, free: 5.512 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/0.5935, allocations: 12 kB / 1.431 GB, free: 5.5 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003277/0.5968, allocations: 1.193 MB / 1.432 GB, free: 4.301 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.5979, allocations: 251.6 kB / 1.432 GB, free: 4.055 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01867/0.6166, allocations: 13.26 MB / 1.445 GB, free: 6.496 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.6181, allocations: 91.92 kB / 1.445 GB, free: 6.406 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/0.6183, allocations: 63.98 kB / 1.445 GB, free: 6.344 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00205/0.6203, allocations: 1.109 MB / 1.446 GB, free: 5.227 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000378/0.6207, allocations: 171 kB / 1.447 GB, free: 5.059 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005964/0.6267, allocations: 3.129 MB / 1.45 GB, free: 1.91 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/0.6267, allocations: 12 kB / 1.45 GB, free: 1.898 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-05/0.6267, allocations: 12 kB / 1.45 GB, free: 1.887 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/0.6267, allocations: 7.969 kB / 1.45 GB, free: 1.879 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/0.6373, allocations: 5.464 MB / 1.455 GB, free: 12.3 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/0.6373, allocations: 11.92 kB / 1.455 GB, free: 12.29 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006418/0.638, allocations: 147.8 kB / 1.455 GB, free: 12.14 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002917/0.6409, allocations: 1.063 MB / 1.456 GB, free: 11.07 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001267/0.641, allocations: 27.94 kB / 1.456 GB, free: 11.05 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01798/0.659, allocations: 12.96 MB / 1.469 GB, free: 13.79 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.659, allocations: 4 kB / 1.469 GB, free: 13.79 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005749/0.6647, allocations: 3.119 MB / 1.472 GB, free: 10.58 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/0.6658, allocations: 342.9 kB / 1.472 GB, free: 10.25 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002138/0.666, allocations: 32 kB / 1.472 GB, free: 10.21 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00081/0.6668, allocations: 83.83 kB / 1.472 GB, free: 10.13 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004159/0.6672, allocations: 132.6 kB / 1.472 GB, free: 10 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.203e-05/0.6673, allocations: 40 kB / 1.472 GB, free: 9.965 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001054/0.6684, allocations: 0.7059 MB / 1.473 GB, free: 9.254 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/0.6684, allocations: 3.938 kB / 1.473 GB, free: 9.25 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002353/0.6707, allocations: 0.6562 MB / 1.474 GB, free: 8.594 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000277/0.671, allocations: 143 kB / 1.474 GB, free: 8.441 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.005289/0.6763, allocations: 3.009 MB / 1.477 GB, free: 5.398 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/0.6763, allocations: 0 / 1.477 GB, free: 5.398 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.003279/0.6796, allocations: 1.889 MB / 1.479 GB, free: 3.465 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/0.682, allocations: 470.8 kB / 1.479 GB, free: 3.016 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.6932, allocations: 5.958 MB / 1.485 GB, free: 12.97 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002609/0.6958, allocations: 1.812 MB / 1.487 GB, free: 11.12 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004328/0.6962, allocations: 95.42 kB / 1.487 GB, free: 11.03 MB / 1.186 GB Notification: Performance of SimCode: time 1.653e-06/0.6962, allocations: 0 / 1.487 GB, free: 11.03 MB / 1.186 GB Notification: Performance of Templates: time 0.11/0.8062, allocations: 80.31 MB / 1.565 GB, free: 10.77 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: 17.633659041952342]