Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001576/0.001576, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.001719/0.001719, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.739/2.739, allocations: 476.7 MB / 0.7714 GB, free: 4.293 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.ThreePhasesBalanced.Lines.Examples.ACLine,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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [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.002078/0.002078, allocations: 65.61 kB / 1.119 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3224, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01873/0.3411, allocations: 14.61 MB / 1.299 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01583/0.3569, allocations: 9.789 MB / 1.308 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001789/0.3587, allocations: 91.19 kB / 1.309 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004873/0.3636, allocations: 1.739 MB / 1.31 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005443/0.369, allocations: 1.59 MB / 1.312 GB, free: 15.33 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002458/0.3715, allocations: 0.7676 MB / 1.313 GB, free: 14.57 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004401/0.3759, allocations: 2.524 MB / 1.315 GB, free: 12.04 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002109/0.378, allocations: 1.196 MB / 1.316 GB, free: 10.8 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002392/0.3804, allocations: 1.203 MB / 1.317 GB, free: 9.598 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00198/0.3824, allocations: 1.129 MB / 1.318 GB, free: 8.465 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002991/0.3827, allocations: 160 kB / 1.319 GB, free: 8.309 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002009/0.3847, allocations: 0.8148 MB / 1.319 GB, free: 7.492 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006773/0.3854, allocations: 0.6192 MB / 1.32 GB, free: 6.871 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001113/0.3865, allocations: 0.9329 MB / 1.321 GB, free: 5.934 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003774/0.3903, allocations: 2.736 MB / 1.324 GB, free: 3.188 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3903, allocations: 0 / 1.324 GB, free: 3.188 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.425e-06/0.3903, allocations: 0 / 1.324 GB, free: 3.188 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.347e-05/0.3903, allocations: 0 / 1.324 GB, free: 3.188 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004354/0.3946, allocations: 2.108 MB / 1.326 GB, free: 1.039 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.3947, allocations: 8.031 kB / 1.326 GB, free: 1.031 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01085/0.4055, allocations: 2.09 MB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003065/0.4086, allocations: 1.181 MB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.968e-05/0.4087, allocations: 90.73 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002702/0.409, allocations: 124.1 kB / 1.329 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005839/0.4148, allocations: 2.643 MB / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.485e-05/0.4148, allocations: 3.938 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001692/0.415, allocations: 55.98 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005906/0.4156, allocations: 182.1 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007356/0.423, allocations: 2.799 MB / 1.335 GB, free: 7.672 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01603/0.439, allocations: 10.37 MB / 1.345 GB, free: 12.73 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006364/0.4454, allocations: 2.213 MB / 1.347 GB, free: 10.51 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003019/0.4484, allocations: 1.21 MB / 1.348 GB, free: 9.293 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.428e-05/0.4484, allocations: 9 kB / 1.348 GB, free: 9.285 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.4485, allocations: 47.56 kB / 1.348 GB, free: 9.23 MB / 1.045 GB Notification: Performance of pre-optimization done (n=89): time 3.387e-06/0.4485, allocations: 0 / 1.348 GB, free: 9.23 MB / 1.045 GB Notification: Performance of matching and sorting (n=131): time 0.04482/0.4933, allocations: 12.66 MB / 1.36 GB, free: 12.52 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.618e-05/0.4934, allocations: 72.7 kB / 1.361 GB, free: 12.43 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/0.4953, allocations: 1.117 MB / 1.362 GB, free: 11.3 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002793/0.4956, allocations: 49.64 kB / 1.362 GB, free: 11.25 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006736/0.4963, allocations: 0.7248 MB / 1.362 GB, free: 10.52 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000559/0.4968, allocations: 475.8 kB / 1.363 GB, free: 10.05 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005099/0.4973, allocations: 267.5 kB / 1.363 GB, free: 9.781 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.4975, allocations: 361.9 kB / 1.363 GB, free: 9.422 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00323/0.5008, allocations: 1.339 MB / 1.365 GB, free: 8.082 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003469/0.5042, allocations: 1.6 MB / 1.366 GB, free: 6.383 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006706/0.5109, allocations: 2.991 MB / 1.369 GB, free: 3.297 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.5109, allocations: 8 kB / 1.369 GB, free: 3.289 MB / 1.061 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01145/0.5224, allocations: 4.404 MB / 1.374 GB, free: 14.83 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.5224, allocations: 10.03 kB / 1.374 GB, free: 14.82 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.5224, allocations: 8 kB / 1.374 GB, free: 14.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005191/0.5276, allocations: 1.432 MB / 1.375 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002089/0.5297, allocations: 439.1 kB / 1.375 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02931/0.559, allocations: 25.35 MB / 1.4 GB, free: 2.059 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002619/0.5616, allocations: 303.6 kB / 1.4 GB, free: 1.762 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001927/0.5618, allocations: 67.83 kB / 1.4 GB, free: 1.695 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009293/0.5628, allocations: 437.5 kB / 1.401 GB, free: 1.258 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003455/0.5631, allocations: 171 kB / 1.401 GB, free: 1.09 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/0.5748, allocations: 4.406 MB / 1.405 GB, free: 12.63 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.848e-05/0.5748, allocations: 12 kB / 1.405 GB, free: 12.62 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.455e-05/0.5749, allocations: 12 kB / 1.405 GB, free: 12.61 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-05/0.5749, allocations: 11.97 kB / 1.405 GB, free: 12.59 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01616/0.5911, allocations: 6.692 MB / 1.412 GB, free: 5.742 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/0.5911, allocations: 4 kB / 1.412 GB, free: 5.738 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001814/0.5929, allocations: 383.6 kB / 1.412 GB, free: 5.363 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004735/0.5976, allocations: 1.306 MB / 1.414 GB, free: 4.016 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002017/0.5978, allocations: 51.89 kB / 1.414 GB, free: 3.965 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02752/0.6253, allocations: 24.17 MB / 1.437 GB, free: 10.3 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.902e-06/0.6253, allocations: 11.88 kB / 1.437 GB, free: 10.29 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01138/0.6367, allocations: 4.16 MB / 1.441 GB, free: 6.031 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001324/0.638, allocations: 390.7 kB / 1.442 GB, free: 5.648 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002736/0.6383, allocations: 27.98 kB / 1.442 GB, free: 5.621 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002099/0.6404, allocations: 299.5 kB / 1.442 GB, free: 5.328 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004629/0.6409, allocations: 140.6 kB / 1.442 GB, free: 5.191 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/0.641, allocations: 51.97 kB / 1.442 GB, free: 5.141 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001153/0.6422, allocations: 0.7526 MB / 1.443 GB, free: 4.387 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.6422, allocations: 0 / 1.443 GB, free: 4.387 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.00225/0.6444, allocations: 0.5664 MB / 1.443 GB, free: 3.82 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003243/0.6447, allocations: 139.1 kB / 1.444 GB, free: 3.676 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01174/0.6565, allocations: 4.978 MB / 1.448 GB, free: 14.53 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/0.6565, allocations: 0 / 1.448 GB, free: 14.53 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.007453/0.6639, allocations: 3.413 MB / 1.452 GB, free: 10.94 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/0.6665, allocations: 0.5513 MB / 1.452 GB, free: 10.4 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009219/0.6757, allocations: 4.179 MB / 1.456 GB, free: 6.16 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/0.6771, allocations: 1.477 MB / 1.458 GB, free: 4.652 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007175/0.6779, allocations: 131.3 kB / 1.458 GB, free: 4.523 MB / 1.154 GB Notification: Performance of SimCode: time 7.82e-07/0.6779, allocations: 0 / 1.458 GB, free: 4.523 MB / 1.154 GB Notification: Performance of Templates: time 0.1238/0.8017, allocations: 112.7 MB / 1.568 GB, free: 3.836 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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: 20.120249088999117]