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.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.001453/0.001453, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001569/0.001569, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.839/2.839, allocations: 475.9 MB / 0.7699 GB, free: 4.746 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.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: 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.002109/0.002109, allocations: 66.69 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3292, allocations: 170 MB / 1.283 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01485/0.344, allocations: 9.649 MB / 1.292 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006347/0.3504, allocations: 3.151 MB / 1.296 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005215/0.3509, allocations: 43.69 kB / 1.296 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001712/0.3526, allocations: 0.6212 MB / 1.296 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001569/0.3542, allocations: 0.774 MB / 1.297 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.3558, allocations: 0.7486 MB / 1.298 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003475/0.3593, allocations: 2.988 MB / 1.301 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002403/0.3617, allocations: 1.415 MB / 1.302 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002379/0.364, allocations: 1.285 MB / 1.303 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002423/0.3665, allocations: 1.632 MB / 1.305 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003984/0.3669, allocations: 236 kB / 1.305 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.3679, allocations: 487.3 kB / 1.306 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001188/0.3691, allocations: 1.103 MB / 1.307 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001238/0.3703, allocations: 0.9182 MB / 1.307 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004516/0.3748, allocations: 3.703 MB / 1.311 GB, free: 15.01 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3748, allocations: 0 / 1.311 GB, free: 15.01 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3748, allocations: 0 / 1.311 GB, free: 15.01 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.893e-05/0.3749, allocations: 0 / 1.311 GB, free: 15.01 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.005019/0.3799, allocations: 2.115 MB / 1.313 GB, free: 12.85 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.38, allocations: 12.03 kB / 1.313 GB, free: 12.84 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009082/0.3891, allocations: 1.33 MB / 1.314 GB, free: 11.51 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003542/0.3926, allocations: 1.265 MB / 1.316 GB, free: 10.21 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.3927, allocations: 111.4 kB / 1.316 GB, free: 10.11 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004471/0.3932, allocations: 148.3 kB / 1.316 GB, free: 9.961 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005859/0.399, allocations: 3.512 MB / 1.319 GB, free: 6.332 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.556e-05/0.3991, allocations: 7.938 kB / 1.319 GB, free: 6.324 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002073/0.3993, allocations: 59.97 kB / 1.319 GB, free: 6.266 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00028/0.3996, allocations: 211.1 kB / 1.32 GB, free: 6.059 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005213/0.4048, allocations: 3.12 MB / 1.323 GB, free: 2.934 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01755/0.4223, allocations: 9.833 MB / 1.332 GB, free: 8.914 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002614/0.4249, allocations: 1.615 MB / 1.334 GB, free: 7.293 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00206/0.427, allocations: 1.331 MB / 1.335 GB, free: 5.961 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.484e-05/0.4271, allocations: 13 kB / 1.335 GB, free: 5.949 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.4271, allocations: 43.56 kB / 1.335 GB, free: 5.895 MB / 1.029 GB Notification: Performance of pre-optimization done (n=104): time 3.496e-06/0.4271, allocations: 0 / 1.335 GB, free: 5.895 MB / 1.029 GB Notification: Performance of matching and sorting (n=183): time 0.1557/0.5828, allocations: 36.18 MB / 1.371 GB, free: 1.664 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.286e-05/0.5829, allocations: 81.34 kB / 1.371 GB, free: 1.57 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.5845, allocations: 1.04 MB / 1.372 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0003604/0.5849, allocations: 57.7 kB / 1.372 GB, free: 472 kB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006602/0.5855, allocations: 0.8055 MB / 1.372 GB, free: 15.64 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007772/0.5863, allocations: 0.6546 MB / 1.373 GB, free: 14.98 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007673/0.5871, allocations: 367.5 kB / 1.373 GB, free: 14.61 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.5872, allocations: 301.1 kB / 1.374 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002981/0.5902, allocations: 1.928 MB / 1.376 GB, free: 12.39 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003303/0.5935, allocations: 2.285 MB / 1.378 GB, free: 9.984 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006584/0.6001, allocations: 4.391 MB / 1.382 GB, free: 5.473 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.488e-05/0.6001, allocations: 8 kB / 1.382 GB, free: 5.465 MB / 1.076 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.0221/0.6222, allocations: 8.869 MB / 1.391 GB, free: 12.57 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/0.6222, allocations: 15.94 kB / 1.391 GB, free: 12.55 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/0.6222, allocations: 8 kB / 1.391 GB, free: 12.54 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01785/0.6401, allocations: 4.966 MB / 1.396 GB, free: 7.562 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009712/0.641, allocations: 195.6 kB / 1.396 GB, free: 7.371 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06441/0.7055, allocations: 37.81 MB / 1.433 GB, free: 1.133 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/0.7077, allocations: 103.9 kB / 1.433 GB, free: 1.031 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002252/0.7079, allocations: 64 kB / 1.433 GB, free: 0.9688 MB / 1.123 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.001521/0.7094, allocations: 0.7979 MB / 1.434 GB, free: 164 kB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003468/0.7098, allocations: 151 kB / 1.434 GB, free: 12 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0213/0.7311, allocations: 8.726 MB / 1.442 GB, free: 7.246 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.987e-05/0.7311, allocations: 23.94 kB / 1.442 GB, free: 7.223 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-05/0.7312, allocations: 35.98 kB / 1.442 GB, free: 7.188 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.293e-05/0.7312, allocations: 7.969 kB / 1.442 GB, free: 7.18 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02924/0.7605, allocations: 12.4 MB / 1.455 GB, free: 10.67 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.579e-05/0.7605, allocations: 7.984 kB / 1.455 GB, free: 10.66 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005505/0.761, allocations: 119.8 kB / 1.455 GB, free: 10.54 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01786/0.7789, allocations: 4.82 MB / 1.459 GB, free: 5.707 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003697/0.7793, allocations: 35.94 kB / 1.459 GB, free: 5.672 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06062/0.8399, allocations: 35.77 MB / 1.494 GB, free: 1.477 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.8399, allocations: 11.88 kB / 1.494 GB, free: 1.465 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02141/0.8613, allocations: 8.448 MB / 1.503 GB, free: 8.926 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002117/0.8634, allocations: 0.577 MB / 1.503 GB, free: 8.348 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003778/0.8638, allocations: 43.92 kB / 1.503 GB, free: 8.305 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/0.8652, allocations: 91.89 kB / 1.503 GB, free: 8.215 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008971/0.8661, allocations: 165.5 kB / 1.504 GB, free: 8.051 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/0.8662, allocations: 55.94 kB / 1.504 GB, free: 7.996 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001122/0.8674, allocations: 0.718 MB / 1.504 GB, free: 7.266 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.8674, allocations: 0 / 1.504 GB, free: 7.266 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.003429/0.8708, allocations: 1.004 MB / 1.505 GB, free: 6.262 MB / 1.201 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.0003412/0.8711, allocations: 139.7 kB / 1.505 GB, free: 6.117 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01089/0.882, allocations: 5.74 MB / 1.511 GB, free: 340 kB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.882, allocations: 0 / 1.511 GB, free: 340 kB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.009125/0.8912, allocations: 3.772 MB / 1.515 GB, free: 12.5 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/0.8928, allocations: 237.6 kB / 1.515 GB, free: 12.28 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009664/0.9025, allocations: 5.187 MB / 1.52 GB, free: 7.039 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001798/0.9043, allocations: 1.271 MB / 1.521 GB, free: 5.73 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000923/0.9052, allocations: 347.2 kB / 1.522 GB, free: 5.387 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.9054, allocations: 55.44 kB / 1.522 GB, free: 5.332 MB / 1.217 GB Notification: Performance of SimCode: time 1.362e-06/0.9054, allocations: 0 / 1.522 GB, free: 5.332 MB / 1.217 GB Notification: Performance of Templates: time 0.09579/1.001, allocations: 66.01 MB / 1.586 GB, free: 3.203 MB / 1.279 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.315008403733373]