Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001633/0.001633, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002178/0.002178, allocations: 210.6 kB / 22.99 MB, free: 4.957 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.805 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.212/3.212, allocations: 0.49 GB / 0.7959 GB, free: 35.38 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,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") 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_12_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.002154/0.002154, allocations: 68.12 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3822, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01818/0.4004, allocations: 13.29 MB / 1.34 GB, free: 3.672 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01547/0.4158, allocations: 9.151 MB / 1.349 GB, free: 10.5 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/0.4172, allocations: 87.25 kB / 1.349 GB, free: 10.41 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004527/0.4217, allocations: 1.684 MB / 1.351 GB, free: 8.723 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004579/0.4263, allocations: 1.581 MB / 1.352 GB, free: 7.141 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001997/0.4283, allocations: 0.7599 MB / 1.353 GB, free: 6.383 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003275/0.4315, allocations: 2.524 MB / 1.355 GB, free: 3.848 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0017/0.4332, allocations: 1.184 MB / 1.357 GB, free: 2.621 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001718/0.435, allocations: 1.219 MB / 1.358 GB, free: 1.398 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001489/0.4364, allocations: 1.128 MB / 1.359 GB, free: 272 kB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002499/0.4367, allocations: 164 kB / 1.359 GB, free: 108 kB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.4381, allocations: 0.7369 MB / 1.36 GB, free: 15.37 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006225/0.4387, allocations: 0.6192 MB / 1.36 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008381/0.4396, allocations: 0.766 MB / 1.361 GB, free: 13.98 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003093/0.4427, allocations: 2.748 MB / 1.364 GB, free: 11.22 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.4427, allocations: 4 kB / 1.364 GB, free: 11.21 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4427, allocations: 4 kB / 1.364 GB, free: 11.21 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.597e-05/0.4427, allocations: 0 / 1.364 GB, free: 11.21 MB / 1.061 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.004118/0.4468, allocations: 2.097 MB / 1.366 GB, free: 9.074 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.4469, allocations: 16.03 kB / 1.366 GB, free: 9.059 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01139/0.4582, allocations: 2.094 MB / 1.368 GB, free: 6.961 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003219/0.4615, allocations: 1.177 MB / 1.369 GB, free: 5.734 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.072e-05/0.4616, allocations: 90.73 kB / 1.369 GB, free: 5.645 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002875/0.4618, allocations: 124.1 kB / 1.369 GB, free: 5.523 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006178/0.468, allocations: 2.885 MB / 1.372 GB, free: 2.441 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.838e-05/0.4681, allocations: 11.94 kB / 1.372 GB, free: 2.43 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/0.4682, allocations: 47.98 kB / 1.372 GB, free: 2.383 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006362/0.4689, allocations: 186.1 kB / 1.372 GB, free: 2.199 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007216/0.4761, allocations: 2.791 MB / 1.375 GB, free: 15.4 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01456/0.4907, allocations: 8.13 MB / 1.383 GB, free: 7.105 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006496/0.4972, allocations: 2.218 MB / 1.385 GB, free: 4.879 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003025/0.5002, allocations: 1.21 MB / 1.386 GB, free: 3.668 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.984e-05/0.5002, allocations: 13 kB / 1.386 GB, free: 3.652 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.5003, allocations: 39.56 kB / 1.386 GB, free: 3.605 MB / 1.076 GB Notification: Performance of pre-optimization done (n=89): time 2.755e-06/0.5003, allocations: 0 / 1.386 GB, free: 3.605 MB / 1.076 GB Notification: Performance of matching and sorting (n=131): time 0.04626/0.5465, allocations: 12.65 MB / 1.399 GB, free: 6.898 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.5466, allocations: 64.72 kB / 1.399 GB, free: 6.824 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001543/0.5481, allocations: 0.9834 MB / 1.4 GB, free: 5.828 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002562/0.5484, allocations: 45.7 kB / 1.4 GB, free: 5.777 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006327/0.549, allocations: 0.7316 MB / 1.401 GB, free: 5.039 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005927/0.5496, allocations: 475.8 kB / 1.401 GB, free: 4.57 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005682/0.5502, allocations: 271.4 kB / 1.401 GB, free: 4.297 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.5504, allocations: 365.9 kB / 1.402 GB, free: 3.934 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003302/0.5537, allocations: 1.339 MB / 1.403 GB, free: 2.594 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003477/0.5572, allocations: 1.596 MB / 1.404 GB, free: 0.8984 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006785/0.5639, allocations: 2.987 MB / 1.407 GB, free: 13.82 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.564, allocations: 8 kB / 1.407 GB, free: 13.81 MB / 1.107 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01181/0.5758, allocations: 4.385 MB / 1.412 GB, free: 9.371 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/0.5758, allocations: 11.94 kB / 1.412 GB, free: 9.359 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.5758, allocations: 8 kB / 1.412 GB, free: 9.352 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005603/0.5814, allocations: 1.431 MB / 1.413 GB, free: 7.879 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00208/0.5835, allocations: 439.2 kB / 1.414 GB, free: 7.449 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02887/0.6124, allocations: 24.8 MB / 1.438 GB, free: 13.31 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002448/0.6148, allocations: 311.7 kB / 1.438 GB, free: 13 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/0.615, allocations: 59.97 kB / 1.438 GB, free: 12.95 MB / 1.139 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.0008539/0.6158, allocations: 441.3 kB / 1.439 GB, free: 12.5 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002963/0.6161, allocations: 155.4 kB / 1.439 GB, free: 12.35 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01174/0.6279, allocations: 4.397 MB / 1.443 GB, free: 7.902 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.6279, allocations: 19.88 kB / 1.443 GB, free: 7.883 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.817e-05/0.6279, allocations: 20 kB / 1.443 GB, free: 7.863 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/0.6279, allocations: 7.969 kB / 1.443 GB, free: 7.855 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01547/0.6434, allocations: 6.125 MB / 1.449 GB, free: 1.617 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.6434, allocations: 4 kB / 1.449 GB, free: 1.613 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001837/0.6452, allocations: 383.3 kB / 1.449 GB, free: 1.238 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005133/0.6504, allocations: 1.303 MB / 1.451 GB, free: 15.89 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001777/0.6506, allocations: 43.97 kB / 1.451 GB, free: 15.85 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0272/0.6778, allocations: 23.68 MB / 1.474 GB, free: 6.832 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.6778, allocations: 224 / 1.474 GB, free: 6.832 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01098/0.6887, allocations: 4.147 MB / 1.478 GB, free: 2.594 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/0.6899, allocations: 374.8 kB / 1.478 GB, free: 2.227 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002499/0.6902, allocations: 28 kB / 1.478 GB, free: 2.199 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001913/0.6921, allocations: 311.4 kB / 1.479 GB, free: 1.895 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004642/0.6926, allocations: 124.7 kB / 1.479 GB, free: 1.77 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001406/0.6927, allocations: 55.95 kB / 1.479 GB, free: 1.715 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0009029/0.6936, allocations: 0.6428 MB / 1.479 GB, free: 1.066 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6936, allocations: 4 kB / 1.479 GB, free: 1.062 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00196/0.6956, allocations: 0.5663 MB / 1.48 GB, free: 0.4961 MB / 1.17 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.0002829/0.6959, allocations: 143.1 kB / 1.48 GB, free: 356 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01109/0.7069, allocations: 4.97 MB / 1.485 GB, free: 11.21 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.707, allocations: 0 / 1.485 GB, free: 11.21 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.00707/0.714, allocations: 3.421 MB / 1.488 GB, free: 7.617 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00236/0.7164, allocations: 0.5042 MB / 1.489 GB, free: 7.133 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008948/0.7253, allocations: 4.05 MB / 1.493 GB, free: 3.023 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/0.7266, allocations: 0.8867 MB / 1.494 GB, free: 2.102 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001452/0.728, allocations: 412.3 kB / 1.494 GB, free: 1.695 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004182/0.7285, allocations: 107.4 kB / 1.494 GB, free: 1.59 MB / 1.186 GB Notification: Performance of SimCode: time 1.262e-06/0.7285, allocations: 7.938 kB / 1.494 GB, free: 1.582 MB / 1.186 GB Notification: Performance of Templates: time 0.06788/0.7963, allocations: 42.81 MB / 1.536 GB, free: 7.465 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.50850397600152]