Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.001305/0.001305, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.00135/0.00135, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.561/1.561, allocations: 225.6 MB / 249.4 MB, free: 3.289 MB / 190.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.79/2.79, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 67.89 kB / 1.107 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9552/0.9572, allocations: 168.7 MB / 1.272 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.03006/0.9872, allocations: 24.46 MB / 1.296 GB, free: 7.777 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01457/1.002, allocations: 6.648 MB / 1.302 GB, free: 3.227 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002788/1.005, allocations: 99.5 kB / 1.302 GB, free: 3.195 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005709/1.01, allocations: 1.556 MB / 1.304 GB, free: 2.297 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0062/1.017, allocations: 1.937 MB / 1.306 GB, free: 1.18 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004865/1.021, allocations: 1.505 MB / 1.307 GB, free: 356 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01038/1.032, allocations: 6.905 MB / 1.314 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008729/1.04, allocations: 3.487 MB / 1.317 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005899/1.046, allocations: 2.878 MB / 1.32 GB, free: 10.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007298/1.054, allocations: 3.735 MB / 1.324 GB, free: 8.863 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.002173/1.056, allocations: 0.5268 MB / 1.324 GB, free: 8.863 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005437/1.061, allocations: 1.197 MB / 1.326 GB, free: 8.617 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.007004/1.068, allocations: 2.533 MB / 1.328 GB, free: 7.633 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.008455/1.077, allocations: 2.528 MB / 1.331 GB, free: 6.023 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01849/1.095, allocations: 8.551 MB / 1.339 GB, free: 2.176 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/1.095, allocations: 1.156 kB / 1.339 GB, free: 2.176 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.813e-06/1.095, allocations: 0 / 1.339 GB, free: 2.176 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0003528/1.096, allocations: 0 / 1.339 GB, free: 2.176 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.02169/1.117, allocations: 4.543 MB / 1.343 GB, free: 15.05 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/1.117, allocations: 9.781 kB / 1.343 GB, free: 15.05 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/1.128, allocations: 1.706 MB / 1.345 GB, free: 14.17 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007853/1.136, allocations: 2.715 MB / 1.348 GB, free: 12.43 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003541/1.137, allocations: 276.4 kB / 1.348 GB, free: 12.31 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002209/1.139, allocations: 363.1 kB / 1.348 GB, free: 12.18 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02118/1.16, allocations: 7.485 MB / 1.356 GB, free: 7.691 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002275/1.16, allocations: 13.75 kB / 1.356 GB, free: 7.684 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001987/1.162, allocations: 165.3 kB / 1.356 GB, free: 7.559 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008487/1.163, allocations: 486.8 kB / 1.356 GB, free: 7.406 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01591/1.179, allocations: 5.696 MB / 1.362 GB, free: 4.488 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04993/1.229, allocations: 31.55 MB / 1.393 GB, free: 6.422 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003469/1.232, allocations: 2.027 MB / 1.395 GB, free: 4.383 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003624/1.236, allocations: 2.096 MB / 1.397 GB, free: 2.285 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002828/1.236, allocations: 25.31 kB / 1.397 GB, free: 2.258 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.062e-05/1.236, allocations: 43.88 kB / 1.397 GB, free: 2.207 MB / 1.076 GB Notification: Performance of pre-optimization done (n=146): time 4.449e-06/1.236, allocations: 0 / 1.397 GB, free: 2.207 MB / 1.076 GB Notification: Performance of matching and sorting (n=251): time 0.2998/1.536, allocations: 76.8 MB / 1.472 GB, free: 5.266 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.483e-05/1.536, allocations: 77.41 kB / 1.472 GB, free: 5.176 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003503/1.54, allocations: 1.678 MB / 1.473 GB, free: 3.453 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0006872/1.54, allocations: 65.7 kB / 1.473 GB, free: 3.383 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001758/1.542, allocations: 1.792 MB / 1.475 GB, free: 1.574 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.00173/1.544, allocations: 0.8946 MB / 1.476 GB, free: 0.6719 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001859/1.546, allocations: 489.3 kB / 1.477 GB, free: 192 kB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001744/1.546, allocations: 305.1 kB / 1.477 GB, free: 15.89 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004579/1.551, allocations: 2.726 MB / 1.48 GB, free: 13.16 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005085/1.556, allocations: 3.332 MB / 1.483 GB, free: 9.582 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/1.566, allocations: 6.401 MB / 1.489 GB, free: 2.938 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.97e-05/1.566, allocations: 4 kB / 1.489 GB, free: 2.934 MB / 1.17 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03581/1.602, allocations: 14.4 MB / 1.503 GB, free: 4.48 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.149e-05/1.602, allocations: 12 kB / 1.503 GB, free: 4.469 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.352e-05/1.602, allocations: 16 kB / 1.503 GB, free: 4.453 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03091/1.633, allocations: 9.24 MB / 1.512 GB, free: 11.19 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/1.634, allocations: 307.4 kB / 1.512 GB, free: 10.89 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09181/1.726, allocations: 52.4 MB / 1.564 GB, free: 5.598 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003052/1.729, allocations: 227.7 kB / 1.564 GB, free: 5.375 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006291/1.729, allocations: 100 kB / 1.564 GB, free: 5.277 MB / 1.248 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003694/1.733, allocations: 1.586 MB / 1.565 GB, free: 3.68 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008303/1.734, allocations: 258.5 kB / 1.566 GB, free: 3.426 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03507/1.769, allocations: 14.46 MB / 1.58 GB, free: 4.906 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.919e-05/1.769, allocations: 24 kB / 1.58 GB, free: 4.883 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001562/1.769, allocations: 44 kB / 1.58 GB, free: 4.84 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.428e-05/1.769, allocations: 19.95 kB / 1.58 GB, free: 4.82 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04935/1.819, allocations: 20.24 MB / 1.6 GB, free: 388 kB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.813e-05/1.819, allocations: 12 kB / 1.6 GB, free: 376 kB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009803/1.82, allocations: 155.8 kB / 1.6 GB, free: 220 kB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03218/1.852, allocations: 9.011 MB / 1.609 GB, free: 7.172 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007472/1.853, allocations: 48 kB / 1.609 GB, free: 7.125 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09141/1.944, allocations: 51.96 MB / 1.659 GB, free: 2.293 MB / 1.342 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.357e-05/1.944, allocations: 11.94 kB / 1.659 GB, free: 2.281 MB / 1.342 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03441/1.978, allocations: 14.1 MB / 1.673 GB, free: 4.039 MB / 1.357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002392/1.981, allocations: 0.8507 MB / 1.674 GB, free: 3.168 MB / 1.357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001005/1.982, allocations: 51.98 kB / 1.674 GB, free: 3.117 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002665/1.984, allocations: 211.6 kB / 1.674 GB, free: 2.91 MB / 1.357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001714/1.986, allocations: 241.5 kB / 1.675 GB, free: 2.672 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004172/1.987, allocations: 64 kB / 1.675 GB, free: 2.609 MB / 1.357 GB Notification: Performance of sorting global known variables: time 0.002375/1.989, allocations: 1.129 MB / 1.676 GB, free: 1.457 MB / 1.357 GB Notification: Performance of sort global known variables: time 3.31e-07/1.989, allocations: 0 / 1.676 GB, free: 1.457 MB / 1.357 GB Notification: Performance of remove unused functions: time 0.006991/1.996, allocations: 1.613 MB / 1.677 GB, free: 15.84 MB / 1.373 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006761/1.997, allocations: 167.1 kB / 1.677 GB, free: 15.67 MB / 1.373 GB Notification: Performance of simCode: created initialization part: time 0.02463/2.021, allocations: 10.22 MB / 1.687 GB, free: 5.387 MB / 1.373 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/2.021, allocations: 0.875 kB / 1.687 GB, free: 5.387 MB / 1.373 GB Notification: Performance of simCode: created simulation system equations: time 0.01835/2.04, allocations: 7.004 MB / 1.694 GB, free: 14.32 MB / 1.389 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004574/2.044, allocations: 0.5526 MB / 1.695 GB, free: 13.77 MB / 1.389 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02057/2.065, allocations: 8.939 MB / 1.704 GB, free: 4.742 MB / 1.389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005897/2.071, allocations: 3.224 MB / 1.707 GB, free: 1.484 MB / 1.389 GB Notification: Performance of simCode: alias equations: time 0.001377/2.072, allocations: 395.3 kB / 1.707 GB, free: 1.094 MB / 1.389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003721/2.072, allocations: 95.44 kB / 1.707 GB, free: 1 MB / 1.389 GB Notification: Performance of SimCode: time 1.402e-06/2.072, allocations: 0 / 1.707 GB, free: 1 MB / 1.389 GB Notification: Performance of Templates: time 0.1538/2.226, allocations: 95.24 MB / 1.8 GB, free: 1.977 MB / 1.482 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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: 11.639284229837358]