Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001787/0.001787, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002415/0.002415, allocations: 221.8 kB / 23 MB, free: 4.91 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.424/3.424, allocations: 0.5107 GB / 0.8166 GB, free: 17.87 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [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.002114/0.002114, allocations: 71.5 kB / 1.187 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3984, allocations: 181.9 MB / 1.365 GB, free: 13.67 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009934/0.4084, allocations: 6.548 MB / 1.371 GB, free: 7.09 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006245/0.4146, allocations: 3.075 MB / 1.374 GB, free: 4.004 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007857/0.4154, allocations: 39.62 kB / 1.374 GB, free: 3.965 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002852/0.4182, allocations: 0.9493 MB / 1.375 GB, free: 3.012 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.4199, allocations: 0.5246 MB / 1.375 GB, free: 2.484 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.4213, allocations: 441.3 kB / 1.376 GB, free: 2.055 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00211/0.4234, allocations: 1.236 MB / 1.377 GB, free: 0.8125 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.4247, allocations: 0.5373 MB / 1.378 GB, free: 272 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001172/0.4259, allocations: 494.3 kB / 1.378 GB, free: 15.78 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.4269, allocations: 0.5135 MB / 1.379 GB, free: 15.27 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001527/0.4271, allocations: 71.94 kB / 1.379 GB, free: 15.2 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009713/0.4281, allocations: 343.3 kB / 1.379 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004571/0.4285, allocations: 319.1 kB / 1.379 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006123/0.4291, allocations: 378.2 kB / 1.38 GB, free: 14.18 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.4312, allocations: 1.226 MB / 1.381 GB, free: 12.95 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.4312, allocations: 0 / 1.381 GB, free: 12.95 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.405e-06/0.4312, allocations: 4 kB / 1.381 GB, free: 12.94 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.663e-05/0.4313, allocations: 3.938 kB / 1.381 GB, free: 12.94 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002642/0.4339, allocations: 1.115 MB / 1.382 GB, free: 11.79 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.4339, allocations: 12.03 kB / 1.382 GB, free: 11.77 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002379/0.4363, allocations: 244.1 kB / 1.382 GB, free: 11.54 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.4379, allocations: 0.5321 MB / 1.383 GB, free: 10.98 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.978e-05/0.4379, allocations: 49.61 kB / 1.383 GB, free: 10.93 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.4381, allocations: 68.36 kB / 1.383 GB, free: 10.87 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002551/0.4407, allocations: 1.336 MB / 1.384 GB, free: 9.359 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.17e-05/0.4407, allocations: 11.94 kB / 1.384 GB, free: 9.348 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.4408, allocations: 31.98 kB / 1.384 GB, free: 9.316 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002539/0.4411, allocations: 85.25 kB / 1.384 GB, free: 9.234 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001813/0.4429, allocations: 0.7465 MB / 1.385 GB, free: 8.484 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007842/0.4507, allocations: 4.542 MB / 1.389 GB, free: 3.789 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/0.4523, allocations: 0.5104 MB / 1.39 GB, free: 3.27 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007034/0.453, allocations: 282 kB / 1.39 GB, free: 2.992 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.571e-05/0.453, allocations: 8.438 kB / 1.39 GB, free: 2.984 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.015e-05/0.4531, allocations: 42.94 kB / 1.39 GB, free: 2.934 MB / 1.076 GB Notification: Performance of pre-optimization done (n=47): time 3.967e-06/0.4531, allocations: 0 / 1.39 GB, free: 2.934 MB / 1.076 GB Notification: Performance of matching and sorting (n=48): time 0.00581/0.4589, allocations: 1.679 MB / 1.392 GB, free: 1.234 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.565e-05/0.459, allocations: 55.84 kB / 1.392 GB, free: 1.168 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008684/0.4598, allocations: 0.5145 MB / 1.392 GB, free: 0.6445 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.71e-05/0.4599, allocations: 33.7 kB / 1.392 GB, free: 0.6055 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004037/0.4603, allocations: 431.8 kB / 1.393 GB, free: 180 kB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002544/0.4605, allocations: 182.5 kB / 1.393 GB, free: 15.99 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003243/0.4609, allocations: 126.5 kB / 1.393 GB, free: 15.87 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002744/0.4611, allocations: 374.7 kB / 1.394 GB, free: 15.49 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006649/0.4618, allocations: 277.8 kB / 1.394 GB, free: 15.22 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009269/0.4627, allocations: 497 kB / 1.394 GB, free: 14.64 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/0.4644, allocations: 0.8044 MB / 1.395 GB, free: 13.74 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.4644, allocations: 4 kB / 1.395 GB, free: 13.73 MB / 1.092 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00295/0.4673, allocations: 1.066 MB / 1.396 GB, free: 12.65 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.933e-05/0.4674, allocations: 17.17 kB / 1.396 GB, free: 12.63 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.4674, allocations: 8 kB / 1.396 GB, free: 12.62 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001293/0.4687, allocations: 283.3 kB / 1.396 GB, free: 12.34 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007643/0.4694, allocations: 123.8 kB / 1.397 GB, free: 12.21 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008675/0.4781, allocations: 6.598 MB / 1.403 GB, free: 5.199 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007022/0.4788, allocations: 43.95 kB / 1.403 GB, free: 5.156 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.595e-05/0.4789, allocations: 31.94 kB / 1.403 GB, free: 5.125 MB / 1.092 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004443/0.4793, allocations: 254.8 kB / 1.403 GB, free: 4.867 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.4794, allocations: 67.62 kB / 1.403 GB, free: 4.801 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/0.4812, allocations: 0.8764 MB / 1.404 GB, free: 3.906 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.4812, allocations: 4 kB / 1.404 GB, free: 3.902 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4812, allocations: 4 kB / 1.404 GB, free: 3.898 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.4812, allocations: 4 kB / 1.404 GB, free: 3.895 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002914/0.4841, allocations: 1.526 MB / 1.406 GB, free: 2.301 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.4841, allocations: 4 kB / 1.406 GB, free: 2.297 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000299/0.4844, allocations: 63.89 kB / 1.406 GB, free: 2.234 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007982/0.4852, allocations: 267.3 kB / 1.406 GB, free: 1.961 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.4852, allocations: 8 kB / 1.406 GB, free: 1.953 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007411/0.4927, allocations: 6.59 MB / 1.412 GB, free: 10.95 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.4927, allocations: 4.031 kB / 1.412 GB, free: 10.95 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/0.4944, allocations: 0.9684 MB / 1.413 GB, free: 9.934 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003685/0.4948, allocations: 107.5 kB / 1.414 GB, free: 9.828 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.694e-05/0.4949, allocations: 23.92 kB / 1.414 GB, free: 9.805 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000368/0.4953, allocations: 27.97 kB / 1.414 GB, free: 9.777 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.4954, allocations: 47.92 kB / 1.414 GB, free: 9.73 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/0.4954, allocations: 16 kB / 1.414 GB, free: 9.715 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0004501/0.4959, allocations: 342.8 kB / 1.414 GB, free: 9.383 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/0.4959, allocations: 0 / 1.414 GB, free: 9.383 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008481/0.4967, allocations: 227.9 kB / 1.414 GB, free: 9.16 MB / 1.107 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001641/0.4969, allocations: 111.2 kB / 1.414 GB, free: 9.039 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002189/0.4991, allocations: 1.232 MB / 1.415 GB, free: 7.758 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4991, allocations: 0 / 1.415 GB, free: 7.758 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001376/0.5005, allocations: 0.87 MB / 1.416 GB, free: 6.836 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.5015, allocations: 208.3 kB / 1.417 GB, free: 6.641 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/0.5041, allocations: 1.424 MB / 1.418 GB, free: 5.16 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005052/0.5046, allocations: 416.8 kB / 1.418 GB, free: 4.723 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.5047, allocations: 43.44 kB / 1.418 GB, free: 4.68 MB / 1.107 GB Notification: Performance of SimCode: time 7.71e-07/0.5047, allocations: 0 / 1.418 GB, free: 4.68 MB / 1.107 GB Notification: Performance of Templates: time 0.02907/0.5338, allocations: 20.91 MB / 1.439 GB, free: 15.81 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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: 14.315968846902251]