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.001762/0.001762, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002218/0.002218, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.774/2.774, allocations: 476 MB / 0.7707 GB, free: 4.723 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.002174/0.002174, allocations: 73.25 kB / 1.118 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3493, allocations: 170 MB / 1.284 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01335/0.3627, allocations: 9.633 MB / 1.293 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006858/0.3696, allocations: 3.154 MB / 1.296 GB, free: 15 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007775/0.3703, allocations: 43.69 kB / 1.296 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001845/0.3722, allocations: 0.6148 MB / 1.297 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001894/0.3741, allocations: 0.774 MB / 1.298 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.3759, allocations: 0.7531 MB / 1.298 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004047/0.38, allocations: 2.992 MB / 1.301 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002327/0.3823, allocations: 1.404 MB / 1.303 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002345/0.3846, allocations: 1.289 MB / 1.304 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00275/0.3874, allocations: 1.64 MB / 1.306 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004049/0.3878, allocations: 232 kB / 1.306 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.389, allocations: 487.3 kB / 1.306 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001384/0.3903, allocations: 1.099 MB / 1.307 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001334/0.3917, allocations: 0.9104 MB / 1.308 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004901/0.3966, allocations: 3.715 MB / 1.312 GB, free: 14.98 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.3966, allocations: 0 / 1.312 GB, free: 14.98 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.705e-06/0.3966, allocations: 0 / 1.312 GB, free: 14.98 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.713e-05/0.3967, allocations: 0 / 1.312 GB, free: 14.98 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.005076/0.4017, allocations: 2.117 MB / 1.314 GB, free: 12.82 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.4018, allocations: 8.031 kB / 1.314 GB, free: 12.81 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009046/0.4108, allocations: 1.338 MB / 1.315 GB, free: 11.47 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003606/0.4144, allocations: 1.262 MB / 1.316 GB, free: 10.18 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.4146, allocations: 115.3 kB / 1.317 GB, free: 10.07 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005441/0.4151, allocations: 148.3 kB / 1.317 GB, free: 9.926 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006782/0.4219, allocations: 3.512 MB / 1.32 GB, free: 6.297 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.698e-05/0.4219, allocations: 4 kB / 1.32 GB, free: 6.293 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002498/0.4222, allocations: 63.97 kB / 1.32 GB, free: 6.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003019/0.4225, allocations: 207.1 kB / 1.32 GB, free: 6.027 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006269/0.4288, allocations: 3.12 MB / 1.323 GB, free: 2.902 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01947/0.4482, allocations: 9.837 MB / 1.333 GB, free: 8.879 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002746/0.451, allocations: 1.611 MB / 1.335 GB, free: 7.262 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002085/0.4531, allocations: 1.331 MB / 1.336 GB, free: 5.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.156e-05/0.4531, allocations: 9 kB / 1.336 GB, free: 5.922 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.302e-05/0.4532, allocations: 47.56 kB / 1.336 GB, free: 5.863 MB / 1.029 GB Notification: Performance of pre-optimization done (n=104): time 3.627e-06/0.4532, allocations: 0 / 1.336 GB, free: 5.863 MB / 1.029 GB Notification: Performance of matching and sorting (n=183): time 0.1514/0.6046, allocations: 36.19 MB / 1.371 GB, free: 1.629 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.442e-05/0.6046, allocations: 73.41 kB / 1.371 GB, free: 1.543 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/0.6063, allocations: 1.044 MB / 1.372 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002436/0.6065, allocations: 57.7 kB / 1.372 GB, free: 440 kB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006455/0.6072, allocations: 0.8092 MB / 1.373 GB, free: 15.61 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006565/0.6078, allocations: 0.6546 MB / 1.374 GB, free: 14.95 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007366/0.6086, allocations: 363.5 kB / 1.374 GB, free: 14.59 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.6087, allocations: 305.1 kB / 1.375 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002867/0.6116, allocations: 1.928 MB / 1.376 GB, free: 12.36 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003242/0.6148, allocations: 2.285 MB / 1.379 GB, free: 9.953 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006396/0.6212, allocations: 4.388 MB / 1.383 GB, free: 5.441 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/0.6212, allocations: 4 kB / 1.383 GB, free: 5.438 MB / 1.076 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02111/0.6423, allocations: 8.868 MB / 1.392 GB, free: 12.54 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/0.6423, allocations: 16.12 kB / 1.392 GB, free: 12.53 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/0.6424, allocations: 11.94 kB / 1.392 GB, free: 12.52 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01758/0.6599, allocations: 4.969 MB / 1.396 GB, free: 7.531 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009672/0.6609, allocations: 191.6 kB / 1.397 GB, free: 7.344 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06424/0.7252, allocations: 37.81 MB / 1.434 GB, free: 1.105 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002191/0.7273, allocations: 103.9 kB / 1.434 GB, free: 1.004 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002303/0.7276, allocations: 68 kB / 1.434 GB, free: 0.9375 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.001517/0.7291, allocations: 0.7901 MB / 1.435 GB, free: 140 kB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003736/0.7295, allocations: 151.2 kB / 1.435 GB, free: 15.98 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0212/0.7507, allocations: 8.733 MB / 1.443 GB, free: 7.215 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.255e-05/0.7507, allocations: 23.94 kB / 1.443 GB, free: 7.191 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.194e-05/0.7508, allocations: 32 kB / 1.443 GB, free: 7.16 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-05/0.7508, allocations: 11.95 kB / 1.443 GB, free: 7.148 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02933/0.7802, allocations: 12.4 MB / 1.455 GB, free: 10.63 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.75e-05/0.7802, allocations: 7.984 kB / 1.455 GB, free: 10.62 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005563/0.7807, allocations: 119.8 kB / 1.455 GB, free: 10.51 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01742/0.7982, allocations: 4.823 MB / 1.46 GB, free: 5.672 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000372/0.7985, allocations: 36 kB / 1.46 GB, free: 5.637 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06171/0.8602, allocations: 35.76 MB / 1.495 GB, free: 1.445 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/0.8603, allocations: 11.88 kB / 1.495 GB, free: 1.434 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02181/0.8821, allocations: 8.452 MB / 1.503 GB, free: 8.891 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002133/0.8842, allocations: 0.573 MB / 1.504 GB, free: 8.316 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003752/0.8846, allocations: 35.94 kB / 1.504 GB, free: 8.281 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/0.886, allocations: 95.88 kB / 1.504 GB, free: 8.188 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008746/0.8868, allocations: 173.5 kB / 1.504 GB, free: 8.016 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001639/0.887, allocations: 48 kB / 1.504 GB, free: 7.969 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.00115/0.8882, allocations: 0.7141 MB / 1.505 GB, free: 7.242 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.8882, allocations: 7.938 kB / 1.505 GB, free: 7.234 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.003513/0.8917, allocations: 1.004 MB / 1.506 GB, free: 6.23 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.0003478/0.892, allocations: 139.6 kB / 1.506 GB, free: 6.086 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01115/0.9032, allocations: 5.755 MB / 1.512 GB, free: 292 kB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/0.9032, allocations: 4 kB / 1.512 GB, free: 288 kB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.008937/0.9121, allocations: 3.783 MB / 1.515 GB, free: 12.45 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/0.9138, allocations: 237.1 kB / 1.516 GB, free: 12.22 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.924, allocations: 5.462 MB / 1.521 GB, free: 6.695 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001968/0.926, allocations: 1.31 MB / 1.522 GB, free: 5.348 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000362/0.9264, allocations: 67.42 kB / 1.522 GB, free: 5.281 MB / 1.217 GB Notification: Performance of SimCode: time 1.323e-06/0.9264, allocations: 4 kB / 1.522 GB, free: 5.277 MB / 1.217 GB Notification: Performance of Templates: time 0.09529/1.022, allocations: 70.09 MB / 1.591 GB, free: 15.14 MB / 1.295 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/jenkins1/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: 16.094780347310007]