Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.00193/0.00193, allocations: 116.5 kB / 17.13 MB, free: 5.945 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.002351/0.002351, allocations: 210.5 kB / 20.09 MB, free: 2.996 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.57/1.57, allocations: 230.6 MB / 253.5 MB, free: 15.12 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 2.977/2.977, allocations: 0.49 GB / 0.7923 GB, free: 1.289 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_R,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [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.002069/0.002069, allocations: 71.91 kB / 1.15 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057/1.059, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03764/1.097, allocations: 35.71 MB / 1.357 GB, free: 0.957 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02243/1.119, allocations: 10.1 MB / 1.367 GB, free: 9.996 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005627/1.125, allocations: 191.4 kB / 1.367 GB, free: 9.906 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01203/1.137, allocations: 3.863 MB / 1.371 GB, free: 7.605 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008974/1.146, allocations: 2.153 MB / 1.373 GB, free: 6.258 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00791/1.154, allocations: 1.964 MB / 1.375 GB, free: 5.145 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0154/1.169, allocations: 7.966 MB / 1.382 GB, free: 1.5 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02163/1.191, allocations: 7.136 MB / 1.389 GB, free: 14.64 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009447/1.2, allocations: 3.467 MB / 1.393 GB, free: 13.06 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01024/1.211, allocations: 3.944 MB / 1.397 GB, free: 11.41 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.003692/1.214, allocations: 0.6777 MB / 1.397 GB, free: 11.41 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006765/1.221, allocations: 1.462 MB / 1.399 GB, free: 11.12 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.007662/1.229, allocations: 2.688 MB / 1.401 GB, free: 9.949 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.01245/1.241, allocations: 3.098 MB / 1.404 GB, free: 7.965 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.02421/1.265, allocations: 10.42 MB / 1.415 GB, free: 2.516 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/1.265, allocations: 4.812 kB / 1.415 GB, free: 2.512 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.015e-06/1.265, allocations: 0 / 1.415 GB, free: 2.512 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0005298/1.266, allocations: 4 kB / 1.415 GB, free: 2.508 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.02615/1.292, allocations: 5.534 MB / 1.42 GB, free: 14.79 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 6.158e-05/1.292, allocations: 14.05 kB / 1.42 GB, free: 14.79 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008131/1.3, allocations: 0.9917 MB / 1.421 GB, free: 14.3 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009842/1.31, allocations: 3.199 MB / 1.424 GB, free: 12.2 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004604/1.311, allocations: 355.3 kB / 1.424 GB, free: 12.04 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002965/1.314, allocations: 463.9 kB / 1.425 GB, free: 11.89 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02457/1.338, allocations: 7.908 MB / 1.433 GB, free: 6.926 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000155/1.338, allocations: 22.77 kB / 1.433 GB, free: 6.91 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009386/1.339, allocations: 208.5 kB / 1.433 GB, free: 6.758 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006248/1.34, allocations: 369.2 kB / 1.433 GB, free: 6.664 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01577/1.356, allocations: 5.94 MB / 1.439 GB, free: 1.219 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05313/1.409, allocations: 36 MB / 1.474 GB, free: 9.992 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003781/1.413, allocations: 1.998 MB / 1.476 GB, free: 7.977 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002093/1.415, allocations: 1.332 MB / 1.477 GB, free: 6.648 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.673e-05/1.415, allocations: 21.31 kB / 1.477 GB, free: 6.629 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.963e-05/1.415, allocations: 59.75 kB / 1.477 GB, free: 6.562 MB / 1.154 GB Notification: Performance of pre-optimization done (n=157): time 3.376e-06/1.415, allocations: 4 kB / 1.477 GB, free: 6.559 MB / 1.154 GB Notification: Performance of matching and sorting (n=160): time 0.01647/1.431, allocations: 7.563 MB / 1.485 GB, free: 14.73 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/1.431, allocations: 68.72 kB / 1.485 GB, free: 14.65 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003119/1.435, allocations: 1.864 MB / 1.487 GB, free: 12.76 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002337/1.435, allocations: 57.64 kB / 1.487 GB, free: 12.7 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.00185/1.437, allocations: 2.196 MB / 1.489 GB, free: 10.48 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007136/1.437, allocations: 0.5771 MB / 1.489 GB, free: 9.902 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000711/1.438, allocations: 407.9 kB / 1.49 GB, free: 9.496 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001546/1.438, allocations: 301.1 kB / 1.49 GB, free: 9.199 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/1.44, allocations: 1.062 MB / 1.491 GB, free: 8.133 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002352/1.442, allocations: 1.764 MB / 1.493 GB, free: 6.047 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004295/1.447, allocations: 3.052 MB / 1.496 GB, free: 2.68 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/1.447, allocations: 8 kB / 1.496 GB, free: 2.672 MB / 1.17 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007389/1.454, allocations: 3.903 MB / 1.5 GB, free: 14.72 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.826e-05/1.454, allocations: 17.91 kB / 1.5 GB, free: 14.7 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.089e-05/1.454, allocations: 27.94 kB / 1.5 GB, free: 14.68 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002738/1.457, allocations: 0.9349 MB / 1.501 GB, free: 13.71 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/1.458, allocations: 423.3 kB / 1.501 GB, free: 13.29 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02409/1.483, allocations: 22.77 MB / 1.523 GB, free: 4.84 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002759/1.485, allocations: 123.8 kB / 1.523 GB, free: 4.719 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002481/1.486, allocations: 95.98 kB / 1.524 GB, free: 4.625 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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%), (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 prepare postOptimizeDAE: time 0.003986/1.49, allocations: 1.648 MB / 1.525 GB, free: 2.965 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007201/1.49, allocations: 266.4 kB / 1.525 GB, free: 2.703 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00603/1.496, allocations: 3.236 MB / 1.529 GB, free: 15.42 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/1.496, allocations: 12 kB / 1.529 GB, free: 15.41 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.941e-05/1.496, allocations: 15.98 kB / 1.529 GB, free: 15.39 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.407e-05/1.496, allocations: 3.984 kB / 1.529 GB, free: 15.39 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01452/1.511, allocations: 7.533 MB / 1.536 GB, free: 7.695 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/1.511, allocations: 4 kB / 1.536 GB, free: 7.691 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009609/1.512, allocations: 211.7 kB / 1.536 GB, free: 7.484 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002583/1.514, allocations: 0.8968 MB / 1.537 GB, free: 6.551 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/1.515, allocations: 32 kB / 1.537 GB, free: 6.52 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02347/1.538, allocations: 22.74 MB / 1.559 GB, free: 14.08 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/1.538, allocations: 7.938 kB / 1.559 GB, free: 14.07 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00659/1.545, allocations: 3.369 MB / 1.563 GB, free: 10.59 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001838/1.547, allocations: 0.5383 MB / 1.563 GB, free: 10.04 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004665/1.547, allocations: 40 kB / 1.563 GB, free: 9.996 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/1.548, allocations: 103.8 kB / 1.563 GB, free: 9.895 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004657/1.549, allocations: 133 kB / 1.563 GB, free: 9.766 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/1.549, allocations: 48 kB / 1.563 GB, free: 9.719 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002036/1.551, allocations: 1.229 MB / 1.565 GB, free: 8.477 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/1.551, allocations: 0 / 1.565 GB, free: 8.477 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003825/1.555, allocations: 0.9062 MB / 1.565 GB, free: 7.57 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000357/1.555, allocations: 155 kB / 1.566 GB, free: 7.41 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.007258/1.562, allocations: 4.284 MB / 1.57 GB, free: 2.973 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/1.562, allocations: 4 kB / 1.57 GB, free: 2.969 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.004891/1.567, allocations: 2.91 MB / 1.573 GB, free: 15.9 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004437/1.572, allocations: 0.824 MB / 1.573 GB, free: 15.09 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01799/1.59, allocations: 8.346 MB / 1.582 GB, free: 6.645 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004397/1.594, allocations: 3.275 MB / 1.585 GB, free: 3.34 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008663/1.595, allocations: 163.4 kB / 1.585 GB, free: 3.18 MB / 1.264 GB Notification: Performance of SimCode: time 1.473e-06/1.595, allocations: 0 / 1.585 GB, free: 3.18 MB / 1.264 GB Notification: Performance of Templates: time 1.235/2.83, allocations: 340.1 MB / 1.917 GB, free: 478.8 MB / 1.545 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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: 26.080882644993835]