Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.001566/0.001566, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.001808/0.001808, allocations: 218.7 kB / 23.04 MB, free: 4.844 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.565/1.565, allocations: 230.6 MB / 256.8 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.364/3.364, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [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.00205/0.00205, allocations: 67.06 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.412, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.009522/0.4215, allocations: 5.986 MB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006347/0.4279, allocations: 3.169 MB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007481/0.4286, allocations: 39.62 kB / 1.336 GB, free: 7.723 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002728/0.4313, allocations: 0.9307 MB / 1.337 GB, free: 6.793 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.433, allocations: 489.5 kB / 1.338 GB, free: 6.312 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.4345, allocations: 0.5027 MB / 1.338 GB, free: 5.809 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001647/0.4361, allocations: 1.108 MB / 1.339 GB, free: 4.695 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000918/0.437, allocations: 0.5023 MB / 1.34 GB, free: 4.184 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008203/0.4378, allocations: 466.2 kB / 1.34 GB, free: 3.727 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006935/0.4385, allocations: 474.1 kB / 1.34 GB, free: 3.262 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.4386, allocations: 56 kB / 1.341 GB, free: 3.207 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009887/0.4396, allocations: 443 kB / 1.341 GB, free: 2.773 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000345/0.44, allocations: 299.1 kB / 1.341 GB, free: 2.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000385/0.4404, allocations: 326.4 kB / 1.342 GB, free: 2.16 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.4419, allocations: 1.191 MB / 1.343 GB, free: 0.9648 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.4419, allocations: 4 kB / 1.343 GB, free: 0.9609 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.565e-06/0.4419, allocations: 0 / 1.343 GB, free: 0.9609 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.4419, allocations: 0 / 1.343 GB, free: 0.9609 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001844/0.4438, allocations: 1.015 MB / 1.344 GB, free: 15.91 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.4438, allocations: 11.97 kB / 1.344 GB, free: 15.9 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/0.4453, allocations: 228.2 kB / 1.344 GB, free: 15.68 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000976/0.4463, allocations: 0.5282 MB / 1.344 GB, free: 15.13 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.598e-05/0.4463, allocations: 49.67 kB / 1.344 GB, free: 15.08 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.4465, allocations: 60.38 kB / 1.345 GB, free: 15.02 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.4481, allocations: 1.134 MB / 1.346 GB, free: 13.75 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.653e-05/0.4481, allocations: 11.89 kB / 1.346 GB, free: 13.74 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.161e-05/0.4482, allocations: 27.98 kB / 1.346 GB, free: 13.71 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.887e-05/0.4483, allocations: 65.28 kB / 1.346 GB, free: 13.65 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.4494, allocations: 0.6957 MB / 1.346 GB, free: 12.95 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004932/0.4543, allocations: 4.405 MB / 1.351 GB, free: 8.391 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007811/0.4551, allocations: 406.1 kB / 1.351 GB, free: 7.984 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008073/0.4559, allocations: 392.5 kB / 1.352 GB, free: 7.598 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.4559, allocations: 4.688 kB / 1.352 GB, free: 7.594 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.456, allocations: 38.56 kB / 1.352 GB, free: 7.547 MB / 1.045 GB Notification: Performance of pre-optimization done (n=41): time 3.457e-06/0.456, allocations: 0 / 1.352 GB, free: 7.547 MB / 1.045 GB Notification: Performance of matching and sorting (n=42): time 0.004343/0.4603, allocations: 1.702 MB / 1.353 GB, free: 5.824 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.4604, allocations: 63.28 kB / 1.353 GB, free: 5.75 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005774/0.4609, allocations: 441.9 kB / 1.354 GB, free: 5.309 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/0.461, allocations: 33.7 kB / 1.354 GB, free: 5.27 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004236/0.4614, allocations: 399.9 kB / 1.354 GB, free: 4.871 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002354/0.4616, allocations: 166.6 kB / 1.354 GB, free: 4.707 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002508/0.4619, allocations: 110.2 kB / 1.354 GB, free: 4.594 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002672/0.4622, allocations: 362.8 kB / 1.355 GB, free: 4.23 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003923/0.4626, allocations: 237.2 kB / 1.355 GB, free: 3.996 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006635/0.4632, allocations: 461.5 kB / 1.355 GB, free: 3.453 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.4643, allocations: 0.7525 MB / 1.356 GB, free: 2.605 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.4643, allocations: 4 kB / 1.356 GB, free: 2.602 MB / 1.045 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002158/0.4665, allocations: 1.031 MB / 1.357 GB, free: 1.551 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.74e-05/0.4665, allocations: 8 kB / 1.357 GB, free: 1.543 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.4665, allocations: 8 kB / 1.357 GB, free: 1.535 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.4676, allocations: 319.4 kB / 1.357 GB, free: 1.211 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/0.468, allocations: 95.77 kB / 1.358 GB, free: 1.117 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008471/0.4765, allocations: 6.93 MB / 1.364 GB, free: 9.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005568/0.477, allocations: 40.08 kB / 1.364 GB, free: 9.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.496e-05/0.4771, allocations: 24 kB / 1.364 GB, free: 9.707 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004366/0.4775, allocations: 247.3 kB / 1.365 GB, free: 9.457 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.4776, allocations: 59.62 kB / 1.365 GB, free: 9.398 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/0.4794, allocations: 0.8724 MB / 1.366 GB, free: 8.508 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.4794, allocations: 4 kB / 1.366 GB, free: 8.504 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.4794, allocations: 4 kB / 1.366 GB, free: 8.5 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.4794, allocations: 0 / 1.366 GB, free: 8.5 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002644/0.482, allocations: 1.501 MB / 1.367 GB, free: 6.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.482, allocations: 0 / 1.367 GB, free: 6.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.4822, allocations: 44.09 kB / 1.367 GB, free: 6.887 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009069/0.4831, allocations: 315.4 kB / 1.367 GB, free: 6.566 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.531e-05/0.4831, allocations: 15.94 kB / 1.367 GB, free: 6.551 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0074/0.4905, allocations: 6.925 MB / 1.374 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.4906, allocations: 3.938 kB / 1.374 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/0.4923, allocations: 0.9721 MB / 1.375 GB, free: 14.19 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.4926, allocations: 95.58 kB / 1.375 GB, free: 14.1 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.175e-05/0.4926, allocations: 12 kB / 1.375 GB, free: 14.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002703/0.4929, allocations: 23.92 kB / 1.375 GB, free: 14.06 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.4931, allocations: 43.86 kB / 1.375 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/0.4931, allocations: 16 kB / 1.375 GB, free: 14 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005772/0.4937, allocations: 290.9 kB / 1.376 GB, free: 13.72 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.9e-07/0.4937, allocations: 0 / 1.376 GB, free: 13.72 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001135/0.4948, allocations: 192 kB / 1.376 GB, free: 13.54 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001863/0.495, allocations: 115.2 kB / 1.376 GB, free: 13.41 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002091/0.4971, allocations: 1.16 MB / 1.377 GB, free: 12.2 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4971, allocations: 0 / 1.377 GB, free: 12.2 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001333/0.4984, allocations: 0.8308 MB / 1.378 GB, free: 11.32 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.4995, allocations: 204.7 kB / 1.378 GB, free: 11.13 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.5019, allocations: 1.313 MB / 1.379 GB, free: 9.766 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005762/0.5024, allocations: 402.9 kB / 1.38 GB, free: 9.344 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.5025, allocations: 35.44 kB / 1.38 GB, free: 9.312 MB / 1.076 GB Notification: Performance of SimCode: time 1.152e-06/0.5025, allocations: 0 / 1.38 GB, free: 9.312 MB / 1.076 GB Notification: Performance of Templates: time 0.02772/0.5303, allocations: 18.84 MB / 1.398 GB, free: 6.504 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,R1.v[1],R1.v[2],R2.v[1],R2.v[2],R3.v[1],R3.v[2],R1.i[1],R1.i[2],load_sc.i[1],load_sc.i[2],R2.i[1],R2.i[2],R3.i[1],R3.i[2] Variables in the result:R1.i[1],R1.i[2],R1.v[1],R1.v[2],R2.i[1],R2.i[2],R2.v[1],R2.v[2],R3.i[1],R3.i[2],R3.v[1],R3.v[2],load_sc.i[1],load_sc.i[2],time [Calling sys.exit(0), Time elapsed: 14.668883414007723]