Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.001826/0.001826, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.00181/0.00181, allocations: 201.1 kB / 22.17 MB, free: 5.211 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.421/1.421, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.758/2.758, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 67.89 kB / 1.109 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7478/0.7499, allocations: 168.7 MB / 1.274 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.05146/0.8014, allocations: 39.78 MB / 1.313 GB, free: 12.61 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02137/0.8228, allocations: 11.39 MB / 1.324 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003767/0.8265, allocations: 155.2 kB / 1.324 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01268/0.8392, allocations: 4.539 MB / 1.329 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006842/0.8461, allocations: 2.332 MB / 1.331 GB, free: 10.14 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006555/0.8526, allocations: 2.248 MB / 1.333 GB, free: 7.895 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01271/0.8653, allocations: 9.28 MB / 1.342 GB, free: 14.59 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0107/0.876, allocations: 5.967 MB / 1.348 GB, free: 8.508 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006832/0.8829, allocations: 4.047 MB / 1.352 GB, free: 4.449 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008194/0.8911, allocations: 4.747 MB / 1.357 GB, free: 15.69 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.002264/0.8933, allocations: 0.8242 MB / 1.357 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004358/0.8977, allocations: 1.615 MB / 1.359 GB, free: 13.25 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.005033/0.9027, allocations: 3.231 MB / 1.362 GB, free: 10.01 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.007901/0.9106, allocations: 3.657 MB / 1.366 GB, free: 6.336 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01794/0.9285, allocations: 12.35 MB / 1.378 GB, free: 9.945 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.9286, allocations: 0 / 1.378 GB, free: 9.945 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9286, allocations: 0 / 1.378 GB, free: 9.945 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0004024/0.929, allocations: 0 / 1.378 GB, free: 9.945 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01755/0.9465, allocations: 6.463 MB / 1.384 GB, free: 3.406 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.9466, allocations: 16.03 kB / 1.384 GB, free: 3.391 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006641/0.9532, allocations: 1.098 MB / 1.385 GB, free: 2.289 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009699/0.9629, allocations: 3.628 MB / 1.389 GB, free: 14.61 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005179/0.9634, allocations: 419.8 kB / 1.389 GB, free: 14.2 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002461/0.9659, allocations: 0.5471 MB / 1.39 GB, free: 13.65 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02259/0.9885, allocations: 9.377 MB / 1.399 GB, free: 3.941 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001663/0.9886, allocations: 23.81 kB / 1.399 GB, free: 3.918 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001265/0.9899, allocations: 248 kB / 1.399 GB, free: 3.676 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006742/0.9906, allocations: 422.9 kB / 1.399 GB, free: 3.262 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01675/1.007, allocations: 7.124 MB / 1.406 GB, free: 12.12 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05326/1.061, allocations: 41.08 MB / 1.447 GB, free: 15.31 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005087/1.066, allocations: 2.913 MB / 1.449 GB, free: 12.39 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003322/1.069, allocations: 1.942 MB / 1.451 GB, free: 10.45 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/1.069, allocations: 26 kB / 1.451 GB, free: 10.42 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.034e-05/1.069, allocations: 60.56 kB / 1.451 GB, free: 10.36 MB / 1.154 GB Notification: Performance of pre-optimization done (n=209): time 3.687e-06/1.069, allocations: 0 / 1.451 GB, free: 10.36 MB / 1.154 GB Notification: Performance of matching and sorting (n=212): time 0.02554/1.095, allocations: 10.57 MB / 1.462 GB, free: 15.69 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/1.095, allocations: 77.34 kB / 1.462 GB, free: 15.6 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002933/1.098, allocations: 2.01 MB / 1.464 GB, free: 13.57 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002437/1.098, allocations: 65.7 kB / 1.464 GB, free: 13.5 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001905/1.1, allocations: 2.474 MB / 1.466 GB, free: 11.01 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008196/1.101, allocations: 0.7708 MB / 1.467 GB, free: 10.23 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008306/1.102, allocations: 481.5 kB / 1.467 GB, free: 9.754 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001312/1.102, allocations: 301.1 kB / 1.468 GB, free: 9.457 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002184/1.104, allocations: 1.372 MB / 1.469 GB, free: 8.082 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002841/1.107, allocations: 2.108 MB / 1.471 GB, free: 5.66 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005365/1.112, allocations: 3.758 MB / 1.475 GB, free: 1.594 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.628e-05/1.112, allocations: 12 kB / 1.475 GB, free: 1.582 MB / 1.17 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009034/1.121, allocations: 5.031 MB / 1.48 GB, free: 12.53 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/1.121, allocations: 20 kB / 1.48 GB, free: 12.51 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.751e-05/1.121, allocations: 20 kB / 1.48 GB, free: 12.49 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003778/1.125, allocations: 1.584 MB / 1.481 GB, free: 10.89 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00188/1.127, allocations: 455.2 kB / 1.482 GB, free: 10.45 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02631/1.153, allocations: 18.59 MB / 1.5 GB, free: 7.309 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002562/1.156, allocations: 143.9 kB / 1.5 GB, free: 7.168 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000426/1.156, allocations: 108 kB / 1.5 GB, free: 7.062 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003594/1.16, allocations: 1.943 MB / 1.502 GB, free: 5.109 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007646/1.16, allocations: 302.2 kB / 1.502 GB, free: 4.812 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008014/1.168, allocations: 4.4 MB / 1.507 GB, free: 388 kB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.477e-05/1.168, allocations: 23.98 kB / 1.507 GB, free: 364 kB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.52e-05/1.169, allocations: 16 kB / 1.507 GB, free: 348 kB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.944e-05/1.169, allocations: 7.969 kB / 1.507 GB, free: 340 kB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01898/1.188, allocations: 9.617 MB / 1.516 GB, free: 6.57 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.671e-05/1.188, allocations: 8 kB / 1.516 GB, free: 6.562 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/1.189, allocations: 231.6 kB / 1.516 GB, free: 6.336 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003556/1.192, allocations: 1.431 MB / 1.518 GB, free: 4.895 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002408/1.193, allocations: 36 kB / 1.518 GB, free: 4.859 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02543/1.218, allocations: 18.59 MB / 1.536 GB, free: 1.707 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/1.218, allocations: 8.188 kB / 1.536 GB, free: 1.699 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007888/1.226, allocations: 4.499 MB / 1.54 GB, free: 13.11 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001733/1.228, allocations: 0.6474 MB / 1.541 GB, free: 12.44 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004344/1.228, allocations: 55.92 kB / 1.541 GB, free: 12.39 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/1.229, allocations: 111.9 kB / 1.541 GB, free: 12.28 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004952/1.23, allocations: 185.6 kB / 1.541 GB, free: 12.1 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/1.23, allocations: 52 kB / 1.541 GB, free: 12.05 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001961/1.232, allocations: 1.319 MB / 1.543 GB, free: 10.72 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/1.232, allocations: 0 / 1.543 GB, free: 10.72 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00333/1.235, allocations: 1.141 MB / 1.544 GB, free: 9.578 MB / 1.248 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003537/1.236, allocations: 167.5 kB / 1.544 GB, free: 9.406 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.007802/1.243, allocations: 4.547 MB / 1.548 GB, free: 4.816 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/1.243, allocations: 0 / 1.548 GB, free: 4.816 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.005203/1.249, allocations: 2.805 MB / 1.551 GB, free: 1.961 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004044/1.253, allocations: 0.8837 MB / 1.552 GB, free: 1.094 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0172/1.27, allocations: 9.578 MB / 1.561 GB, free: 7.418 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004881/1.275, allocations: 3.69 MB / 1.565 GB, free: 3.691 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001884/1.277, allocations: 0.5518 MB / 1.565 GB, free: 3.133 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004322/1.277, allocations: 151.4 kB / 1.565 GB, free: 2.984 MB / 1.264 GB Notification: Performance of SimCode: time 9.22e-07/1.277, allocations: 0 / 1.565 GB, free: 2.984 MB / 1.264 GB Notification: Performance of Templates: time 0.721/1.998, allocations: 53.21 MB / 1.617 GB, free: 297.3 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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: 11.098493877332658]