Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001295/0.001295, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.00143/0.00143, allocations: 194.3 kB / 22.17 MB, free: 5.656 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.435/1.435, allocations: 225.6 MB / 250.9 MB, free: 13.3 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.782/2.782, allocations: 476.7 MB / 0.7645 GB, free: 10.07 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,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") 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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003067/0.003067, allocations: 63.91 kB / 1.109 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7671/0.7701, allocations: 168.7 MB / 1.274 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04467/0.8148, allocations: 36.81 MB / 1.31 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01968/0.8345, allocations: 10.3 MB / 1.32 GB, free: 5.312 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003621/0.8381, allocations: 151.3 kB / 1.32 GB, free: 5.164 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01088/0.849, allocations: 3.952 MB / 1.324 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006827/0.8558, allocations: 2.142 MB / 1.326 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005914/0.8617, allocations: 2.034 MB / 1.328 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01209/0.8738, allocations: 7.967 MB / 1.336 GB, free: 5.035 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00938/0.8832, allocations: 4.895 MB / 1.341 GB, free: 16 kB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006489/0.8897, allocations: 3.424 MB / 1.344 GB, free: 12.58 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007139/0.8968, allocations: 3.933 MB / 1.348 GB, free: 8.637 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002177/0.899, allocations: 0.6797 MB / 1.349 GB, free: 7.957 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004231/0.9032, allocations: 1.463 MB / 1.35 GB, free: 6.492 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.004333/0.9076, allocations: 2.689 MB / 1.353 GB, free: 3.797 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.006301/0.9139, allocations: 3.097 MB / 1.356 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0137/0.9276, allocations: 10.41 MB / 1.366 GB, free: 6.242 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.9276, allocations: 0 / 1.366 GB, free: 6.242 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9276, allocations: 4 kB / 1.366 GB, free: 6.238 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0003301/0.9279, allocations: 0 / 1.366 GB, free: 6.238 MB / 1.061 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.01545/0.9434, allocations: 5.534 MB / 1.371 GB, free: 0.625 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.9434, allocations: 12.03 kB / 1.371 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005453/0.9489, allocations: 0.9812 MB / 1.372 GB, free: 15.63 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007888/0.9567, allocations: 3.204 MB / 1.375 GB, free: 12.37 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003691/0.9571, allocations: 353.9 kB / 1.376 GB, free: 12.02 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001509/0.9586, allocations: 472.3 kB / 1.376 GB, free: 11.56 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01801/0.9766, allocations: 7.914 MB / 1.384 GB, free: 3.285 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002099/0.9768, allocations: 19.88 kB / 1.384 GB, free: 3.266 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001344/0.9782, allocations: 216 kB / 1.384 GB, free: 3.055 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006174/0.9788, allocations: 369.1 kB / 1.384 GB, free: 2.691 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01243/0.9912, allocations: 5.937 MB / 1.39 GB, free: 12.74 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04546/1.037, allocations: 36 MB / 1.425 GB, free: 5.508 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003743/1.04, allocations: 1.998 MB / 1.427 GB, free: 3.496 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002152/1.043, allocations: 1.336 MB / 1.429 GB, free: 2.16 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/1.043, allocations: 17.31 kB / 1.429 GB, free: 2.141 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.242e-05/1.043, allocations: 59.81 kB / 1.429 GB, free: 2.074 MB / 1.123 GB Notification: Performance of pre-optimization done (n=157): time 3.937e-06/1.043, allocations: 3.938 kB / 1.429 GB, free: 2.07 MB / 1.123 GB Notification: Performance of matching and sorting (n=160): time 0.0147/1.057, allocations: 7.574 MB / 1.436 GB, free: 10.23 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/1.057, allocations: 68.72 kB / 1.436 GB, free: 10.15 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002947/1.06, allocations: 1.86 MB / 1.438 GB, free: 8.266 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001516/1.061, allocations: 53.7 kB / 1.438 GB, free: 8.207 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001609/1.062, allocations: 2.188 MB / 1.44 GB, free: 6 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005542/1.063, allocations: 0.5848 MB / 1.441 GB, free: 5.41 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006775/1.063, allocations: 408 kB / 1.441 GB, free: 5.004 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001202/1.064, allocations: 309.1 kB / 1.441 GB, free: 4.699 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/1.065, allocations: 1.055 MB / 1.442 GB, free: 3.641 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002274/1.068, allocations: 1.76 MB / 1.444 GB, free: 1.559 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004312/1.072, allocations: 3.052 MB / 1.447 GB, free: 14.2 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-05/1.072, allocations: 4 kB / 1.447 GB, free: 14.19 MB / 1.154 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007045/1.079, allocations: 3.91 MB / 1.451 GB, free: 10.23 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.257e-05/1.079, allocations: 16 kB / 1.451 GB, free: 10.22 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.303e-05/1.079, allocations: 20 kB / 1.451 GB, free: 10.2 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002516/1.082, allocations: 0.9314 MB / 1.452 GB, free: 9.23 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/1.083, allocations: 431.2 kB / 1.452 GB, free: 8.809 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02511/1.108, allocations: 22.76 MB / 1.475 GB, free: 368 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002154/1.11, allocations: 128 kB / 1.475 GB, free: 240 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003225/1.111, allocations: 92 kB / 1.475 GB, free: 148 kB / 1.17 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.003172/1.114, allocations: 1.654 MB / 1.476 GB, free: 14.48 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006426/1.115, allocations: 262.4 kB / 1.477 GB, free: 14.22 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006043/1.121, allocations: 3.24 MB / 1.48 GB, free: 10.93 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.065e-05/1.121, allocations: 16 kB / 1.48 GB, free: 10.91 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.44e-05/1.121, allocations: 8 kB / 1.48 GB, free: 10.9 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/1.121, allocations: 11.97 kB / 1.48 GB, free: 10.89 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01519/1.136, allocations: 7.526 MB / 1.487 GB, free: 3.215 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/1.136, allocations: 7.984 kB / 1.487 GB, free: 3.207 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/1.137, allocations: 223.7 kB / 1.487 GB, free: 2.988 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002501/1.139, allocations: 0.8842 MB / 1.488 GB, free: 2.066 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000139/1.14, allocations: 32 kB / 1.488 GB, free: 2.035 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0243/1.164, allocations: 22.75 MB / 1.511 GB, free: 9.609 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/1.164, allocations: 7.938 kB / 1.511 GB, free: 9.602 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006646/1.171, allocations: 3.365 MB / 1.514 GB, free: 6.125 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/1.172, allocations: 0.5423 MB / 1.514 GB, free: 5.562 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007544/1.173, allocations: 32 kB / 1.514 GB, free: 5.531 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001657/1.175, allocations: 96 kB / 1.514 GB, free: 5.438 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000487/1.175, allocations: 141 kB / 1.515 GB, free: 5.297 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001589/1.175, allocations: 52 kB / 1.515 GB, free: 5.246 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002698/1.178, allocations: 1.225 MB / 1.516 GB, free: 4.008 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/1.178, allocations: 0 / 1.516 GB, free: 4.008 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003943/1.182, allocations: 0.9023 MB / 1.517 GB, free: 3.105 MB / 1.217 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.0003928/1.182, allocations: 155.5 kB / 1.517 GB, free: 2.945 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007585/1.19, allocations: 4.306 MB / 1.521 GB, free: 14.48 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/1.19, allocations: 0 / 1.521 GB, free: 14.48 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.004592/1.195, allocations: 2.895 MB / 1.524 GB, free: 11.43 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004432/1.199, allocations: 0.8264 MB / 1.525 GB, free: 10.62 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01734/1.216, allocations: 7.855 MB / 1.532 GB, free: 2.672 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006531/1.223, allocations: 3.209 MB / 1.536 GB, free: 15.43 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002426/1.225, allocations: 0.5293 MB / 1.536 GB, free: 14.89 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005629/1.226, allocations: 139.4 kB / 1.536 GB, free: 14.75 MB / 1.248 GB Notification: Performance of SimCode: time 1.232e-06/1.226, allocations: 0 / 1.536 GB, free: 14.75 MB / 1.248 GB Notification: Performance of Templates: time 0.08833/1.314, allocations: 42.88 MB / 1.578 GB, free: 4.492 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.26640649093315]