Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.001616/0.001616, 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.002251/0.002251, allocations: 193 kB / 22.17 MB, free: 5.652 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.475/1.475, 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.787/2.787, 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.ACLineMatrix_RLC_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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00296/0.00296, allocations: 69.64 kB / 1.109 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3539, allocations: 168.7 MB / 1.274 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01366/0.3675, allocations: 10.49 MB / 1.284 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006417/0.374, allocations: 3.26 MB / 1.288 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008721/0.3748, allocations: 43.75 kB / 1.288 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001985/0.3768, allocations: 0.6063 MB / 1.288 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001943/0.3788, allocations: 0.7817 MB / 1.289 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.3805, allocations: 0.7555 MB / 1.29 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003463/0.3839, allocations: 2.988 MB / 1.293 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001916/0.3858, allocations: 1.309 MB / 1.294 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001738/0.3876, allocations: 1.262 MB / 1.295 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002378/0.39, allocations: 1.706 MB / 1.297 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003632/0.3903, allocations: 236 kB / 1.297 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009768/0.3913, allocations: 0.5149 MB / 1.297 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001109/0.3924, allocations: 1.095 MB / 1.299 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001261/0.3937, allocations: 1.112 MB / 1.3 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004045/0.3977, allocations: 3.691 MB / 1.303 GB, free: 13.24 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3977, allocations: 4 kB / 1.303 GB, free: 13.23 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3977, allocations: 0 / 1.303 GB, free: 13.23 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.508e-05/0.3978, allocations: 0 / 1.303 GB, free: 13.23 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004336/0.4021, allocations: 2.194 MB / 1.305 GB, free: 10.98 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.4021, allocations: 12.03 kB / 1.305 GB, free: 10.97 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009408/0.4116, allocations: 1.322 MB / 1.307 GB, free: 9.645 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003253/0.4148, allocations: 1.306 MB / 1.308 GB, free: 8.297 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.844e-05/0.4149, allocations: 119.3 kB / 1.308 GB, free: 8.18 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003552/0.4153, allocations: 148.3 kB / 1.308 GB, free: 8.035 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005586/0.4208, allocations: 3.433 MB / 1.312 GB, free: 4.504 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.319e-05/0.4209, allocations: 15.89 kB / 1.312 GB, free: 4.488 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002458/0.4211, allocations: 67.95 kB / 1.312 GB, free: 4.422 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002778/0.4214, allocations: 203.1 kB / 1.312 GB, free: 4.223 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005252/0.4267, allocations: 3.124 MB / 1.315 GB, free: 1.094 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02028/0.4469, allocations: 13.57 MB / 1.328 GB, free: 2.652 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002595/0.4495, allocations: 1.619 MB / 1.33 GB, free: 1.023 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001991/0.4515, allocations: 1.327 MB / 1.331 GB, free: 15.7 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.304e-05/0.4516, allocations: 13 kB / 1.331 GB, free: 15.68 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.4517, allocations: 43.56 kB / 1.331 GB, free: 15.63 MB / 1.045 GB Notification: Performance of pre-optimization done (n=104): time 3.055e-06/0.4517, allocations: 4 kB / 1.331 GB, free: 15.62 MB / 1.045 GB Notification: Performance of matching and sorting (n=183): time 0.1573/0.609, allocations: 36.56 MB / 1.367 GB, free: 10.93 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.548e-05/0.6091, allocations: 73.41 kB / 1.367 GB, free: 10.84 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001737/0.6108, allocations: 1.054 MB / 1.368 GB, free: 9.766 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0003688/0.6112, allocations: 53.7 kB / 1.368 GB, free: 9.707 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006335/0.6118, allocations: 0.8093 MB / 1.369 GB, free: 8.887 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008295/0.6126, allocations: 0.6546 MB / 1.369 GB, free: 8.227 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001032/0.6137, allocations: 363.5 kB / 1.37 GB, free: 7.867 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.6138, allocations: 305.1 kB / 1.37 GB, free: 7.566 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003024/0.6169, allocations: 1.932 MB / 1.372 GB, free: 5.633 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003351/0.6202, allocations: 2.285 MB / 1.374 GB, free: 3.223 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006682/0.6269, allocations: 4.386 MB / 1.378 GB, free: 14.71 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/0.6269, allocations: 0 / 1.378 GB, free: 14.71 MB / 1.092 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02202/0.6489, allocations: 8.88 MB / 1.387 GB, free: 5.805 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.649, allocations: 15.94 kB / 1.387 GB, free: 5.789 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/0.649, allocations: 8 kB / 1.387 GB, free: 5.781 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01767/0.6666, allocations: 4.97 MB / 1.392 GB, free: 0.7969 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000928/0.6676, allocations: 195.7 kB / 1.392 GB, free: 0.6055 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06443/0.732, allocations: 38.95 MB / 1.43 GB, free: 9.078 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002137/0.7341, allocations: 99.89 kB / 1.43 GB, free: 8.98 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003621/0.7345, allocations: 68 kB / 1.43 GB, free: 8.914 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001583/0.7361, allocations: 0.8063 MB / 1.431 GB, free: 8.098 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004349/0.7365, allocations: 147.1 kB / 1.431 GB, free: 7.953 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02205/0.7586, allocations: 8.738 MB / 1.44 GB, free: 15.18 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-05/0.7586, allocations: 20 kB / 1.44 GB, free: 15.16 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.541e-05/0.7587, allocations: 28 kB / 1.44 GB, free: 15.13 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.844e-05/0.7587, allocations: 11.95 kB / 1.44 GB, free: 15.12 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03199/0.7907, allocations: 13.25 MB / 1.453 GB, free: 1.719 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.437e-05/0.7907, allocations: 4 kB / 1.453 GB, free: 1.715 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005596/0.7913, allocations: 119.8 kB / 1.453 GB, free: 1.598 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0183/0.8096, allocations: 4.847 MB / 1.458 GB, free: 12.74 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003728/0.81, allocations: 36 kB / 1.458 GB, free: 12.7 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06183/0.8718, allocations: 36.85 MB / 1.494 GB, free: 7.254 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.8718, allocations: 4 kB / 1.494 GB, free: 7.25 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02088/0.8927, allocations: 8.456 MB / 1.502 GB, free: 14.7 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00186/0.8945, allocations: 0.6405 MB / 1.503 GB, free: 14.04 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000528/0.8951, allocations: 39.94 kB / 1.503 GB, free: 14 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001538/0.8966, allocations: 95.81 kB / 1.503 GB, free: 13.91 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008442/0.8975, allocations: 161.7 kB / 1.503 GB, free: 13.75 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001927/0.8976, allocations: 48 kB / 1.503 GB, free: 13.71 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001197/0.8988, allocations: 0.7382 MB / 1.504 GB, free: 12.96 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.8988, allocations: 0 / 1.504 GB, free: 12.96 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.00346/0.9023, allocations: 1 MB / 1.505 GB, free: 11.96 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003981/0.9027, allocations: 151 kB / 1.505 GB, free: 11.8 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01084/0.9135, allocations: 5.743 MB / 1.51 GB, free: 6.008 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.9135, allocations: 0 / 1.51 GB, free: 6.008 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.008887/0.9224, allocations: 3.777 MB / 1.514 GB, free: 2.18 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/0.9246, allocations: 234.3 kB / 1.514 GB, free: 1.957 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/0.9356, allocations: 5.205 MB / 1.519 GB, free: 12.7 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00241/0.938, allocations: 1.859 MB / 1.521 GB, free: 10.81 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009415/0.9389, allocations: 351.4 kB / 1.521 GB, free: 10.46 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/0.9392, allocations: 67.36 kB / 1.522 GB, free: 10.39 MB / 1.232 GB Notification: Performance of SimCode: time 6.91e-07/0.9392, allocations: 4 kB / 1.522 GB, free: 10.39 MB / 1.232 GB Notification: Performance of Templates: time 0.719/1.658, allocations: 62.74 MB / 1.583 GB, free: 272.8 MB / 1.264 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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: 10.764771134592593]